<!DOCTYPE html>
<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=emulateIE7" />
    <title>Coverage for skf/initial_data.py: 99%</title>
    <link rel="stylesheet" href="style.css" type="text/css">
    <script type="text/javascript" src="jquery.min.js"></script>
    <script type="text/javascript" src="jquery.hotkeys.js"></script>
    <script type="text/javascript" src="jquery.isonscreen.js"></script>
    <script type="text/javascript" src="coverage_html.js"></script>
    <script type="text/javascript">
        jQuery(document).ready(coverage.pyfile_ready);
    </script>
</head>
<body class="pyfile">
<div id="header">
    <div class="content">
        <h1>Coverage for <b>skf/initial_data.py</b> :
            <span class="pc_cov">99%</span>
        </h1>
        <img id="keyboard_icon" src="keybd_closed.png" alt="Show keyboard shortcuts" />
        <h2 class="stats">
            1872 statements &nbsp;
            <span class="run shortkey_r button_toggle_run">1869 run</span>
            <span class="mis show_mis shortkey_m button_toggle_mis">3 missing</span>
            <span class="exc show_exc shortkey_x button_toggle_exc">0 excluded</span>
        </h2>
    </div>
</div>
<div class="help_panel">
    <img id="panel_icon" src="keybd_open.png" alt="Hide keyboard shortcuts" />
    <p class="legend">Hot-keys on this page</p>
    <div>
    <p class="keyhelp">
        <span class="key">r</span>
        <span class="key">m</span>
        <span class="key">x</span>
        <span class="key">p</span> &nbsp; toggle line displays
    </p>
    <p class="keyhelp">
        <span class="key">j</span>
        <span class="key">k</span> &nbsp; next/prev highlighted chunk
    </p>
    <p class="keyhelp">
        <span class="key">0</span> &nbsp; (zero) top of page
    </p>
    <p class="keyhelp">
        <span class="key">1</span> &nbsp; (one) first highlighted chunk
    </p>
    </div>
</div>
<div id="source">
    <p id="t1" class="run"><span class="n"><a href="#t1">1</a></span><span class="t"><span class="key">import</span> <span class="nam">datetime</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2" class="run"><span class="n"><a href="#t2">2</a></span><span class="t"><span class="key">from</span> <span class="nam">skf</span><span class="op">.</span><span class="nam">database</span> <span class="key">import</span> <span class="nam">db</span>&nbsp;</span><span class="r"></span></p>
    <p id="t3" class="run"><span class="n"><a href="#t3">3</a></span><span class="t"><span class="key">from</span> <span class="nam">skf</span><span class="op">.</span><span class="nam">database</span><span class="op">.</span><span class="nam">privileges</span> <span class="key">import</span> <span class="nam">Privilege</span>&nbsp;</span><span class="r"></span></p>
    <p id="t4" class="run"><span class="n"><a href="#t4">4</a></span><span class="t"><span class="key">from</span> <span class="nam">skf</span><span class="op">.</span><span class="nam">database</span><span class="op">.</span><span class="nam">users</span> <span class="key">import</span> <span class="nam">User</span>&nbsp;</span><span class="r"></span></p>
    <p id="t5" class="run"><span class="n"><a href="#t5">5</a></span><span class="t"><span class="key">from</span> <span class="nam">skf</span><span class="op">.</span><span class="nam">database</span><span class="op">.</span><span class="nam">groups</span> <span class="key">import</span> <span class="nam">Group</span>&nbsp;</span><span class="r"></span></p>
    <p id="t6" class="run"><span class="n"><a href="#t6">6</a></span><span class="t"><span class="key">from</span> <span class="nam">skf</span><span class="op">.</span><span class="nam">database</span><span class="op">.</span><span class="nam">questions</span> <span class="key">import</span> <span class="nam">Question</span>&nbsp;</span><span class="r"></span></p>
    <p id="t7" class="run"><span class="n"><a href="#t7">7</a></span><span class="t"><span class="key">from</span> <span class="nam">skf</span><span class="op">.</span><span class="nam">database</span><span class="op">.</span><span class="nam">checklist_category</span> <span class="key">import</span> <span class="nam">ChecklistCategory</span>&nbsp;</span><span class="r"></span></p>
    <p id="t8" class="run"><span class="n"><a href="#t8">8</a></span><span class="t"><span class="key">from</span> <span class="nam">skf</span><span class="op">.</span><span class="nam">database</span><span class="op">.</span><span class="nam">checklist_types</span> <span class="key">import</span> <span class="nam">ChecklistType</span>&nbsp;</span><span class="r"></span></p>
    <p id="t9" class="run"><span class="n"><a href="#t9">9</a></span><span class="t"><span class="key">from</span> <span class="nam">skf</span><span class="op">.</span><span class="nam">database</span><span class="op">.</span><span class="nam">checklists_kb</span> <span class="key">import</span> <span class="nam">ChecklistKB</span>&nbsp;</span><span class="r"></span></p>
    <p id="t10" class="run"><span class="n"><a href="#t10">10</a></span><span class="t"><span class="key">from</span> <span class="nam">skf</span><span class="op">.</span><span class="nam">database</span><span class="op">.</span><span class="nam">checklists_results</span> <span class="key">import</span> <span class="nam">ChecklistResult</span>&nbsp;</span><span class="r"></span></p>
    <p id="t11" class="run"><span class="n"><a href="#t11">11</a></span><span class="t"><span class="key">from</span> <span class="nam">skf</span><span class="op">.</span><span class="nam">database</span><span class="op">.</span><span class="nam">code_items</span> <span class="key">import</span> <span class="nam">CodeItem</span>&nbsp;</span><span class="r"></span></p>
    <p id="t12" class="run"><span class="n"><a href="#t12">12</a></span><span class="t"><span class="key">from</span> <span class="nam">skf</span><span class="op">.</span><span class="nam">database</span><span class="op">.</span><span class="nam">groupmembers</span> <span class="key">import</span> <span class="nam">GroupMember</span>&nbsp;</span><span class="r"></span></p>
    <p id="t13" class="run"><span class="n"><a href="#t13">13</a></span><span class="t"><span class="key">from</span> <span class="nam">skf</span><span class="op">.</span><span class="nam">database</span><span class="op">.</span><span class="nam">kb_items</span> <span class="key">import</span> <span class="nam">KBItem</span>&nbsp;</span><span class="r"></span></p>
    <p id="t14" class="run"><span class="n"><a href="#t14">14</a></span><span class="t"><span class="key">from</span> <span class="nam">skf</span><span class="op">.</span><span class="nam">database</span><span class="op">.</span><span class="nam">lab_items</span> <span class="key">import</span> <span class="nam">LabItem</span>&nbsp;</span><span class="r"></span></p>
    <p id="t15" class="run"><span class="n"><a href="#t15">15</a></span><span class="t"><span class="key">from</span> <span class="nam">skf</span><span class="op">.</span><span class="nam">database</span><span class="op">.</span><span class="nam">logs</span> <span class="key">import</span> <span class="nam">Log</span>&nbsp;</span><span class="r"></span></p>
    <p id="t16" class="run"><span class="n"><a href="#t16">16</a></span><span class="t"><span class="key">from</span> <span class="nam">skf</span><span class="op">.</span><span class="nam">database</span><span class="op">.</span><span class="nam">project_sprints</span> <span class="key">import</span> <span class="nam">ProjectSprint</span>&nbsp;</span><span class="r"></span></p>
    <p id="t17" class="run"><span class="n"><a href="#t17">17</a></span><span class="t"><span class="key">from</span> <span class="nam">skf</span><span class="op">.</span><span class="nam">database</span><span class="op">.</span><span class="nam">projects</span> <span class="key">import</span> <span class="nam">Project</span>&nbsp;</span><span class="r"></span></p>
    <p id="t18" class="run"><span class="n"><a href="#t18">18</a></span><span class="t"><span class="key">from</span> <span class="nam">skf</span><span class="op">.</span><span class="nam">database</span><span class="op">.</span><span class="nam">question_results</span> <span class="key">import</span> <span class="nam">QuestionResult</span>&nbsp;</span><span class="r"></span></p>
    <p id="t19" class="pln"><span class="n"><a href="#t19">19</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t20" class="pln"><span class="n"><a href="#t20">20</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t21" class="run"><span class="n"><a href="#t21">21</a></span><span class="t"><span class="key">def</span> <span class="nam">load_initial_data</span><span class="op">(</span><span class="op">)</span><span class="op">:</span>&nbsp;</span><span class="r"></span></p>
    <p id="t22" class="pln"><span class="n"><a href="#t22">22</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t23" class="run"><span class="n"><a href="#t23">23</a></span><span class="t">    <span class="key">try</span><span class="op">:</span>&nbsp;</span><span class="r"></span></p>
    <p id="t24" class="run"><span class="n"><a href="#t24">24</a></span><span class="t">        <span class="nam">p</span> <span class="op">=</span> <span class="nam">Privilege</span><span class="op">(</span><span class="str">'edit:read:manage:delete'</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t25" class="run"><span class="n"><a href="#t25">25</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">p</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t26" class="run"><span class="n"><a href="#t26">26</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">Privilege</span><span class="op">(</span><span class="str">'edit:read:delete'</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t27" class="run"><span class="n"><a href="#t27">27</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">Privilege</span><span class="op">(</span><span class="str">'edit:read'</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t28" class="run"><span class="n"><a href="#t28">28</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">Privilege</span><span class="op">(</span><span class="str">'read'</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t29" class="pln"><span class="n"><a href="#t29">29</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t30" class="run"><span class="n"><a href="#t30">30</a></span><span class="t">        <span class="nam">user</span> <span class="op">=</span> <span class="nam">User</span><span class="op">(</span><span class="nam">username</span><span class="op">=</span><span class="str">'admin'</span><span class="op">,</span> <span class="nam">accessToken</span><span class="op">=</span><span class="num">1234</span><span class="op">,</span> <span class="nam">email</span><span class="op">=</span><span class="str">"example@owasp.org"</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t31" class="run"><span class="n"><a href="#t31">31</a></span><span class="t">        <span class="nam">user</span><span class="op">.</span><span class="nam">privilege</span> <span class="op">=</span> <span class="nam">p</span>&nbsp;</span><span class="r"></span></p>
    <p id="t32" class="run"><span class="n"><a href="#t32">32</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">user</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t33" class="pln"><span class="n"><a href="#t33">33</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t34" class="run"><span class="n"><a href="#t34">34</a></span><span class="t">        <span class="nam">group</span> <span class="op">=</span> <span class="nam">Group</span><span class="op">(</span><span class="str">'privateGroup'</span><span class="op">,</span> <span class="nam">datetime</span><span class="op">.</span><span class="nam">datetime</span><span class="op">.</span><span class="nam">now</span><span class="op">(</span><span class="op">)</span><span class="op">.</span><span class="nam">strftime</span><span class="op">(</span><span class="str">"%Y-%m-%d %H:%M"</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t35" class="pln"><span class="n"><a href="#t35">35</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t36" class="run"><span class="n"><a href="#t36">36</a></span><span class="t">        <span class="nam">group</span><span class="op">.</span><span class="nam">members</span><span class="op">.</span><span class="nam">append</span><span class="op">(</span><span class="nam">user</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t37" class="run"><span class="n"><a href="#t37">37</a></span><span class="t">        <span class="nam">group</span><span class="op">.</span><span class="nam">owner</span> <span class="op">=</span> <span class="nam">user</span>&nbsp;</span><span class="r"></span></p>
    <p id="t38" class="run"><span class="n"><a href="#t38">38</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">group</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t39" class="pln"><span class="n"><a href="#t39">39</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t40" class="run"><span class="n"><a href="#t40">40</a></span><span class="t">        <span class="nam">checklist</span> <span class="op">=</span> <span class="nam">ChecklistType</span><span class="op">(</span><span class="nam">name</span><span class="op">=</span><span class="str">'Architecture, Design and Threat Modeling Requirements'</span><span class="op">,</span> <span class="nam">description</span><span class="op">=</span><span class="str">'Security architecture has almost become a lost art in many organizations. The days of the enterprise architect have passed in the age of DevSecOps. The application security field must catch up and adopt agile security principles while re-introducing leading security architecture principles to software practitioners. Architecture is not an implementation, but a way of thinking about a problem that has potentially many different answers, and no one single "correct" answer. All too often, security is seen as inflexible and demanding that developers fix code in a particular way, when the developers may know a much better way to solve the problem. There is no single, simple solution for architecture, and to pretend otherwise is a disservice to the software engineering field.'</span><span class="op">,</span> <span class="nam">visibility</span><span class="op">=</span><span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t41" class="run"><span class="n"><a href="#t41">41</a></span><span class="t">        <span class="nam">checklist</span><span class="op">.</span><span class="nam">checklist_category_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t42" class="run"><span class="n"><a href="#t42">42</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">checklist</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t43" class="run"><span class="n"><a href="#t43">43</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t44" class="pln"><span class="n"><a href="#t44">44</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t45" class="run"><span class="n"><a href="#t45">45</a></span><span class="t">        <span class="nam">checklist</span> <span class="op">=</span> <span class="nam">ChecklistType</span><span class="op">(</span><span class="nam">name</span><span class="op">=</span><span class="str">'Authentication Verification Requirements'</span><span class="op">,</span> <span class="nam">description</span><span class="op">=</span><span class="str">'Authentication is the act of establishing, or confirming, someone (or something) as authentic and that claims made by a person or about a device are correct, resistant to impersonation, and prevent recovery or interception of passwords.'</span><span class="op">,</span> <span class="nam">visibility</span><span class="op">=</span><span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t46" class="run"><span class="n"><a href="#t46">46</a></span><span class="t">        <span class="nam">checklist</span><span class="op">.</span><span class="nam">checklist_category_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t47" class="run"><span class="n"><a href="#t47">47</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">checklist</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t48" class="run"><span class="n"><a href="#t48">48</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t49" class="pln"><span class="n"><a href="#t49">49</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t50" class="run"><span class="n"><a href="#t50">50</a></span><span class="t">        <span class="nam">checklist</span> <span class="op">=</span> <span class="nam">ChecklistType</span><span class="op">(</span><span class="nam">name</span><span class="op">=</span><span class="str">'Session Management Verification Requirements'</span><span class="op">,</span> <span class="nam">description</span><span class="op">=</span><span class="str">'One of the core components of any web-based application or stateful API is the mechanism by which it controls and maintains the state for a user or device interacting with it. Session management changes a stateless protocol to stateful, which is critical for differentiating different users or devices.'</span><span class="op">,</span> <span class="nam">visibility</span><span class="op">=</span><span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t51" class="run"><span class="n"><a href="#t51">51</a></span><span class="t">        <span class="nam">checklist</span><span class="op">.</span><span class="nam">checklist_category_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t52" class="run"><span class="n"><a href="#t52">52</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">checklist</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t53" class="run"><span class="n"><a href="#t53">53</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t54" class="pln"><span class="n"><a href="#t54">54</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t55" class="run"><span class="n"><a href="#t55">55</a></span><span class="t">        <span class="nam">checklist</span> <span class="op">=</span> <span class="nam">ChecklistType</span><span class="op">(</span><span class="nam">name</span><span class="op">=</span><span class="str">'Access Control Verification Requirements'</span><span class="op">,</span> <span class="nam">description</span><span class="op">=</span><span class="str">'Authorization is the concept of allowing access to resources only to those permitted to use them. Ensure that a verified application satisfies the following high level requirements:&#8226; Persons accessing resources hold valid credentials to do so.* Users are associated with a well-defined set of roles and privileges.&#8226; Role and permission metadata is protected from replay or tampering.'</span><span class="op">,</span> <span class="nam">visibility</span><span class="op">=</span><span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t56" class="run"><span class="n"><a href="#t56">56</a></span><span class="t">        <span class="nam">checklist</span><span class="op">.</span><span class="nam">checklist_category_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t57" class="run"><span class="n"><a href="#t57">57</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">checklist</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t58" class="run"><span class="n"><a href="#t58">58</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t59" class="pln"><span class="n"><a href="#t59">59</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t60" class="run"><span class="n"><a href="#t60">60</a></span><span class="t">        <span class="nam">checklist</span> <span class="op">=</span> <span class="nam">ChecklistType</span><span class="op">(</span><span class="nam">name</span><span class="op">=</span><span class="str">'Validation, Sanitization and Encoding Verification Requirements'</span><span class="op">,</span> <span class="nam">description</span><span class="op">=</span><span class="str">'The most common web application security weakness is the failure to properly validate input coming from the client or the environment before directly using it without any output encoding. This weakness leads to almost all of the significant vulnerabilities in web applications, such as Cross-Site Scripting (XSS), SQL injection, interpreter injection, locale/Unicode attacks, file system attacks, and buffer overflows.'</span><span class="op">,</span> <span class="nam">visibility</span><span class="op">=</span><span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t61" class="run"><span class="n"><a href="#t61">61</a></span><span class="t">        <span class="nam">checklist</span><span class="op">.</span><span class="nam">checklist_category_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t62" class="run"><span class="n"><a href="#t62">62</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">checklist</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t63" class="run"><span class="n"><a href="#t63">63</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t64" class="pln"><span class="n"><a href="#t64">64</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t65" class="run"><span class="n"><a href="#t65">65</a></span><span class="t">        <span class="nam">checklist</span> <span class="op">=</span> <span class="nam">ChecklistType</span><span class="op">(</span><span class="nam">name</span><span class="op">=</span><span class="str">'Stored Cryptography Verification Requirements'</span><span class="op">,</span> <span class="nam">description</span><span class="op">=</span><span class="str">'Ensure that a verified application satisfies the following high level requirements: &#8226; All cryptographic modules fail in a secure manner and that errors are handled correctly. &#8226; A suitable random number generator is used. &#8226; Access to keys is securely managed. V6.1 Data Classification'</span><span class="op">,</span> <span class="nam">visibility</span><span class="op">=</span><span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t66" class="run"><span class="n"><a href="#t66">66</a></span><span class="t">        <span class="nam">checklist</span><span class="op">.</span><span class="nam">checklist_category_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t67" class="run"><span class="n"><a href="#t67">67</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">checklist</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t68" class="run"><span class="n"><a href="#t68">68</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t69" class="pln"><span class="n"><a href="#t69">69</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t70" class="run"><span class="n"><a href="#t70">70</a></span><span class="t">        <span class="nam">checklist</span> <span class="op">=</span> <span class="nam">ChecklistType</span><span class="op">(</span><span class="nam">name</span><span class="op">=</span><span class="str">'Error Handling and Logging Verification Requirements'</span><span class="op">,</span> <span class="nam">description</span><span class="op">=</span><span class="str">'The primary objective of error handling and logging is to provide useful information for the user, administrators, and incident response teams. The objective is not to create massive amounts of logs, but high quality logs, with more signal than discarded noise.'</span><span class="op">,</span> <span class="nam">visibility</span><span class="op">=</span><span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t71" class="run"><span class="n"><a href="#t71">71</a></span><span class="t">        <span class="nam">checklist</span><span class="op">.</span><span class="nam">checklist_category_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t72" class="run"><span class="n"><a href="#t72">72</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">checklist</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t73" class="run"><span class="n"><a href="#t73">73</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t74" class="pln"><span class="n"><a href="#t74">74</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t75" class="run"><span class="n"><a href="#t75">75</a></span><span class="t">        <span class="nam">checklist</span> <span class="op">=</span> <span class="nam">ChecklistType</span><span class="op">(</span><span class="nam">name</span><span class="op">=</span><span class="str">'Data Protection Verification Requirements'</span><span class="op">,</span> <span class="nam">description</span><span class="op">=</span><span class="str">'There are three key elements to sound data protection: Confidentiality, Integrity and Availability (CIA). This standard assumes that data protection is enforced on a trusted system, such as a server, which has been hardened and has sufficient protections.'</span><span class="op">,</span> <span class="nam">visibility</span><span class="op">=</span><span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t76" class="run"><span class="n"><a href="#t76">76</a></span><span class="t">        <span class="nam">checklist</span><span class="op">.</span><span class="nam">checklist_category_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t77" class="run"><span class="n"><a href="#t77">77</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">checklist</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t78" class="run"><span class="n"><a href="#t78">78</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t79" class="pln"><span class="n"><a href="#t79">79</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t80" class="run"><span class="n"><a href="#t80">80</a></span><span class="t">        <span class="nam">checklist</span> <span class="op">=</span> <span class="nam">ChecklistType</span><span class="op">(</span><span class="nam">name</span><span class="op">=</span><span class="str">'Communications Verification Requirements'</span><span class="op">,</span> <span class="nam">description</span><span class="op">=</span><span class="str">'Leading industry advice on secure TLS configuration changes frequently, often due to catastrophic breaks in existing algorithms and ciphers. Always use the most recent versions of TLS configuration review tools (such as SSLyze or other TLS scanners) to configure the preferred order and algorithm selection. Configuration should be periodically checked to ensure that secure communications configuration is always present and effective.'</span><span class="op">,</span> <span class="nam">visibility</span><span class="op">=</span><span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t81" class="run"><span class="n"><a href="#t81">81</a></span><span class="t">        <span class="nam">checklist</span><span class="op">.</span><span class="nam">checklist_category_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t82" class="run"><span class="n"><a href="#t82">82</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">checklist</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t83" class="run"><span class="n"><a href="#t83">83</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t84" class="pln"><span class="n"><a href="#t84">84</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t85" class="run"><span class="n"><a href="#t85">85</a></span><span class="t">        <span class="nam">checklist</span> <span class="op">=</span> <span class="nam">ChecklistType</span><span class="op">(</span><span class="nam">name</span><span class="op">=</span><span class="str">'Malicious Code Verification Requirements'</span><span class="op">,</span> <span class="nam">description</span><span class="op">=</span><span class="str">'Finding malicious code is proof of the negative, which is impossible to completely validate. Best efforts should be undertaken to ensure that the code has no inherent malicious code or unwanted functionality.'</span><span class="op">,</span> <span class="nam">visibility</span><span class="op">=</span><span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t86" class="run"><span class="n"><a href="#t86">86</a></span><span class="t">        <span class="nam">checklist</span><span class="op">.</span><span class="nam">checklist_category_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t87" class="run"><span class="n"><a href="#t87">87</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">checklist</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t88" class="run"><span class="n"><a href="#t88">88</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t89" class="pln"><span class="n"><a href="#t89">89</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t90" class="run"><span class="n"><a href="#t90">90</a></span><span class="t">        <span class="nam">checklist</span> <span class="op">=</span> <span class="nam">ChecklistType</span><span class="op">(</span><span class="nam">name</span><span class="op">=</span><span class="str">'Business Logic Verification Requirements'</span><span class="op">,</span> <span class="nam">description</span><span class="op">=</span><span class="str">'Ensure that a verified application satisfies the following high level requirements: &#8226; The business logic flow is sequential, processed in order, and cannot be bypassed. &#8226; Business logic includes limits to detect and prevent automated attacks, such as continuous small funds transfers, or adding a million friends one at a time, and so on. &#8226; High value business logic flows have considered abuse cases and malicious actors, and have protections against spoofing, tampering, repudiation, information disclosure, and elevation of privilege attacks.'</span><span class="op">,</span> <span class="nam">visibility</span><span class="op">=</span><span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t91" class="run"><span class="n"><a href="#t91">91</a></span><span class="t">        <span class="nam">checklist</span><span class="op">.</span><span class="nam">checklist_category_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t92" class="run"><span class="n"><a href="#t92">92</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">checklist</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t93" class="run"><span class="n"><a href="#t93">93</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t94" class="pln"><span class="n"><a href="#t94">94</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t95" class="run"><span class="n"><a href="#t95">95</a></span><span class="t">        <span class="nam">checklist</span> <span class="op">=</span> <span class="nam">ChecklistType</span><span class="op">(</span><span class="nam">name</span><span class="op">=</span><span class="str">'File and Resources Verification Requirements'</span><span class="op">,</span> <span class="nam">description</span><span class="op">=</span><span class="str">'Ensure that a verified application satisfies the following high level requirements: &#8226; Untrusted file data should be handled accordingly and in a secure manner. &#8226; Untrusted file data obtained from untrusted sources are stored outside the web root and with limited permissions.'</span><span class="op">,</span> <span class="nam">visibility</span><span class="op">=</span><span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t96" class="run"><span class="n"><a href="#t96">96</a></span><span class="t">        <span class="nam">checklist</span><span class="op">.</span><span class="nam">checklist_category_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t97" class="run"><span class="n"><a href="#t97">97</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">checklist</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t98" class="run"><span class="n"><a href="#t98">98</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t99" class="pln"><span class="n"><a href="#t99">99</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t100" class="run"><span class="n"><a href="#t100">100</a></span><span class="t">        <span class="nam">checklist</span> <span class="op">=</span> <span class="nam">ChecklistType</span><span class="op">(</span><span class="nam">name</span><span class="op">=</span><span class="str">'API and Web Service Verification Requirements'</span><span class="op">,</span> <span class="nam">description</span><span class="op">=</span><span class="str">'Ensure that a verified application that uses trusted service layer APIs (commonly using JSON or XML or GraphQL) has: &#8226; Adequate authentication, session management and authorization of all web services. &#8226; Input validation of all parameters that transit from a lower to higher trust level. &#8226; Effective security controls for all API types, including cloud and Serverless API Please read this chapter in combination with all other chapters at this same level; we no longer duplicate authentication or API session management concerns.'</span><span class="op">,</span> <span class="nam">visibility</span><span class="op">=</span><span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t101" class="run"><span class="n"><a href="#t101">101</a></span><span class="t">        <span class="nam">checklist</span><span class="op">.</span><span class="nam">checklist_category_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t102" class="run"><span class="n"><a href="#t102">102</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">checklist</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t103" class="run"><span class="n"><a href="#t103">103</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t104" class="pln"><span class="n"><a href="#t104">104</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t105" class="run"><span class="n"><a href="#t105">105</a></span><span class="t">        <span class="nam">checklist</span> <span class="op">=</span> <span class="nam">ChecklistType</span><span class="op">(</span><span class="nam">name</span><span class="op">=</span><span class="str">'Configuration Verification Requirements'</span><span class="op">,</span> <span class="nam">description</span><span class="op">=</span><span class="str">'Ensure that a verified application has: &#8226; A secure, repeatable, automatable build environment. &#8226; Hardened third party library, dependency and configuration management such that out of date or insecure components are not included by the application. &#8226; A secure-by-default configuration, such that administrators and users have to weaken the default security posture. Configuration of the application out of the box should be safe to be on the Internet, which means a safe out of the box configuration.'</span><span class="op">,</span> <span class="nam">visibility</span><span class="op">=</span><span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t106" class="run"><span class="n"><a href="#t106">106</a></span><span class="t">        <span class="nam">checklist</span><span class="op">.</span><span class="nam">checklist_category_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t107" class="run"><span class="n"><a href="#t107">107</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">checklist</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t108" class="run"><span class="n"><a href="#t108">108</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t109" class="pln"><span class="n"><a href="#t109">109</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t110" class="pln"><span class="n"><a href="#t110">110</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t111" class="pln"><span class="n"><a href="#t111">111</a></span><span class="t">        <span class="str">'''</span>&nbsp;</span><span class="r"></span></p>
    <p id="t112" class="pln"><span class="n"><a href="#t112">112</a></span><span class="t"><span class="str">        Questionaire for ASVS</span>&nbsp;</span><span class="r"></span></p>
    <p id="t113" class="pln"><span class="n"><a href="#t113">113</a></span><span class="t"><span class="str">        '''</span>&nbsp;</span><span class="r"></span></p>
    <p id="t114" class="pln"><span class="n"><a href="#t114">114</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t115" class="pln"><span class="n"><a href="#t115">115</a></span><span class="t">        <span class="com">#1 -- 1.1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t116" class="run"><span class="n"><a href="#t116">116</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Secure Software Development Lifecycle Requirements'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t117" class="run"><span class="n"><a href="#t117">117</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t118" class="run"><span class="n"><a href="#t118">118</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t119" class="pln"><span class="n"><a href="#t119">119</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t120" class="pln"><span class="n"><a href="#t120">120</a></span><span class="t">        <span class="com">#2 -- 1.2</span>&nbsp;</span><span class="r"></span></p>
    <p id="t121" class="run"><span class="n"><a href="#t121">121</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Authentication Architectural Requirements'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t122" class="run"><span class="n"><a href="#t122">122</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t123" class="run"><span class="n"><a href="#t123">123</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t124" class="pln"><span class="n"><a href="#t124">124</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t125" class="pln"><span class="n"><a href="#t125">125</a></span><span class="t">        <span class="com">#3 -- 1.4</span>&nbsp;</span><span class="r"></span></p>
    <p id="t126" class="run"><span class="n"><a href="#t126">126</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Access Control Architectural Requirements'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t127" class="run"><span class="n"><a href="#t127">127</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t128" class="run"><span class="n"><a href="#t128">128</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t129" class="pln"><span class="n"><a href="#t129">129</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t130" class="pln"><span class="n"><a href="#t130">130</a></span><span class="t">        <span class="com">#4 -- 1.5</span>&nbsp;</span><span class="r"></span></p>
    <p id="t131" class="run"><span class="n"><a href="#t131">131</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Input and Output Architectural Requirements'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t132" class="run"><span class="n"><a href="#t132">132</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t133" class="run"><span class="n"><a href="#t133">133</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t134" class="pln"><span class="n"><a href="#t134">134</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t135" class="pln"><span class="n"><a href="#t135">135</a></span><span class="t">        <span class="com">#5 -- 1.6</span>&nbsp;</span><span class="r"></span></p>
    <p id="t136" class="run"><span class="n"><a href="#t136">136</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Cryptographic Architectural Requirements'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t137" class="run"><span class="n"><a href="#t137">137</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t138" class="run"><span class="n"><a href="#t138">138</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t139" class="pln"><span class="n"><a href="#t139">139</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t140" class="pln"><span class="n"><a href="#t140">140</a></span><span class="t">        <span class="com">#6 -- 1.7</span>&nbsp;</span><span class="r"></span></p>
    <p id="t141" class="run"><span class="n"><a href="#t141">141</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Errors, Logging and Auditing Architectural Requirements'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t142" class="run"><span class="n"><a href="#t142">142</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t143" class="run"><span class="n"><a href="#t143">143</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t144" class="pln"><span class="n"><a href="#t144">144</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t145" class="pln"><span class="n"><a href="#t145">145</a></span><span class="t">        <span class="com">#7 -- 1.8</span>&nbsp;</span><span class="r"></span></p>
    <p id="t146" class="run"><span class="n"><a href="#t146">146</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Data Protection and Privacy Architectural Requirements'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t147" class="run"><span class="n"><a href="#t147">147</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t148" class="run"><span class="n"><a href="#t148">148</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t149" class="pln"><span class="n"><a href="#t149">149</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t150" class="pln"><span class="n"><a href="#t150">150</a></span><span class="t">        <span class="com">#8 -- 1.9</span>&nbsp;</span><span class="r"></span></p>
    <p id="t151" class="run"><span class="n"><a href="#t151">151</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Communications Architectural Requirements'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t152" class="run"><span class="n"><a href="#t152">152</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t153" class="run"><span class="n"><a href="#t153">153</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t154" class="pln"><span class="n"><a href="#t154">154</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t155" class="pln"><span class="n"><a href="#t155">155</a></span><span class="t">        <span class="com">#9 -- 1.10</span>&nbsp;</span><span class="r"></span></p>
    <p id="t156" class="run"><span class="n"><a href="#t156">156</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Malicious Software Architectural Requirements'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t157" class="run"><span class="n"><a href="#t157">157</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t158" class="run"><span class="n"><a href="#t158">158</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t159" class="pln"><span class="n"><a href="#t159">159</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t160" class="pln"><span class="n"><a href="#t160">160</a></span><span class="t">        <span class="com">#10 -- 2.1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t161" class="run"><span class="n"><a href="#t161">161</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Password security requirements'</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t162" class="run"><span class="n"><a href="#t162">162</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t163" class="run"><span class="n"><a href="#t163">163</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t164" class="pln"><span class="n"><a href="#t164">164</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t165" class="pln"><span class="n"><a href="#t165">165</a></span><span class="t">        <span class="com">#11 -- 2.2</span>&nbsp;</span><span class="r"></span></p>
    <p id="t166" class="run"><span class="n"><a href="#t166">166</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'General Authenticator Requirements (brute force, authenticator types, 2FA)'</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t167" class="run"><span class="n"><a href="#t167">167</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t168" class="run"><span class="n"><a href="#t168">168</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t169" class="pln"><span class="n"><a href="#t169">169</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t170" class="pln"><span class="n"><a href="#t170">170</a></span><span class="t">        <span class="com">#12 -- 2.3</span>&nbsp;</span><span class="r"></span></p>
    <p id="t171" class="run"><span class="n"><a href="#t171">171</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Authenticator Lifecycle Requirements (activation codes, FIDO tokens)'</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t172" class="run"><span class="n"><a href="#t172">172</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t173" class="run"><span class="n"><a href="#t173">173</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t174" class="pln"><span class="n"><a href="#t174">174</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t175" class="pln"><span class="n"><a href="#t175">175</a></span><span class="t">        <span class="com">#13 -- 2.4</span>&nbsp;</span><span class="r"></span></p>
    <p id="t176" class="run"><span class="n"><a href="#t176">176</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Credential Storage Requirements (salting/stretching, pbkdf2, bcrypt)'</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t177" class="run"><span class="n"><a href="#t177">177</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t178" class="run"><span class="n"><a href="#t178">178</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t179" class="pln"><span class="n"><a href="#t179">179</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t180" class="pln"><span class="n"><a href="#t180">180</a></span><span class="t">        <span class="com">#14 -- 2.5</span>&nbsp;</span><span class="r"></span></p>
    <p id="t181" class="run"><span class="n"><a href="#t181">181</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Credential Recovery Requirements (secret questions, default accounts, recovery tokens)'</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t182" class="run"><span class="n"><a href="#t182">182</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t183" class="run"><span class="n"><a href="#t183">183</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t184" class="pln"><span class="n"><a href="#t184">184</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t185" class="pln"><span class="n"><a href="#t185">185</a></span><span class="t">        <span class="com">#15 -- 2.6</span>&nbsp;</span><span class="r"></span></p>
    <p id="t186" class="run"><span class="n"><a href="#t186">186</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Look-up Secret Verifier Requirements (revocation, token randomness)'</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t187" class="run"><span class="n"><a href="#t187">187</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t188" class="run"><span class="n"><a href="#t188">188</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t189" class="pln"><span class="n"><a href="#t189">189</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t190" class="pln"><span class="n"><a href="#t190">190</a></span><span class="t">        <span class="com">#16 -- 2.7 </span>&nbsp;</span><span class="r"></span></p>
    <p id="t191" class="run"><span class="n"><a href="#t191">191</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Out of Band Verifier Requirements (Reset links, SMS tokens)'</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t192" class="run"><span class="n"><a href="#t192">192</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t193" class="run"><span class="n"><a href="#t193">193</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t194" class="pln"><span class="n"><a href="#t194">194</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t195" class="pln"><span class="n"><a href="#t195">195</a></span><span class="t">        <span class="com">#17 -- 2.8 </span>&nbsp;</span><span class="r"></span></p>
    <p id="t196" class="run"><span class="n"><a href="#t196">196</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Single or Multi Factor One Time Verifier Requirements'</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t197" class="run"><span class="n"><a href="#t197">197</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t198" class="run"><span class="n"><a href="#t198">198</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t199" class="pln"><span class="n"><a href="#t199">199</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t200" class="pln"><span class="n"><a href="#t200">200</a></span><span class="t">        <span class="com">#18 -- 2.9</span>&nbsp;</span><span class="r"></span></p>
    <p id="t201" class="run"><span class="n"><a href="#t201">201</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Cryptographic Software and Devices Verifier Requirements (TPM, HSM)'</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t202" class="run"><span class="n"><a href="#t202">202</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t203" class="run"><span class="n"><a href="#t203">203</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t204" class="pln"><span class="n"><a href="#t204">204</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t205" class="pln"><span class="n"><a href="#t205">205</a></span><span class="t">        <span class="com">#19 -- 2.10</span>&nbsp;</span><span class="r"></span></p>
    <p id="t206" class="run"><span class="n"><a href="#t206">206</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Service Authentication Requirements'</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t207" class="run"><span class="n"><a href="#t207">207</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t208" class="run"><span class="n"><a href="#t208">208</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t209" class="pln"><span class="n"><a href="#t209">209</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t210" class="pln"><span class="n"><a href="#t210">210</a></span><span class="t">        <span class="com">#20 -- 3.1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t211" class="run"><span class="n"><a href="#t211">211</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Fundamental Session Management Requirements'</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t212" class="run"><span class="n"><a href="#t212">212</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t213" class="run"><span class="n"><a href="#t213">213</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t214" class="pln"><span class="n"><a href="#t214">214</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t215" class="pln"><span class="n"><a href="#t215">215</a></span><span class="t">        <span class="com">#21 -- 3.2</span>&nbsp;</span><span class="r"></span></p>
    <p id="t216" class="run"><span class="n"><a href="#t216">216</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Session Binding Requirements'</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t217" class="run"><span class="n"><a href="#t217">217</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t218" class="run"><span class="n"><a href="#t218">218</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t219" class="pln"><span class="n"><a href="#t219">219</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t220" class="pln"><span class="n"><a href="#t220">220</a></span><span class="t">        <span class="com">#22 -- 3.3</span>&nbsp;</span><span class="r"></span></p>
    <p id="t221" class="run"><span class="n"><a href="#t221">221</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Session Logout and Timeout Requirements'</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t222" class="run"><span class="n"><a href="#t222">222</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t223" class="run"><span class="n"><a href="#t223">223</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t224" class="pln"><span class="n"><a href="#t224">224</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t225" class="pln"><span class="n"><a href="#t225">225</a></span><span class="t">        <span class="com">#23 -- 3.4</span>&nbsp;</span><span class="r"></span></p>
    <p id="t226" class="run"><span class="n"><a href="#t226">226</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Cookie-based Session Management'</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t227" class="run"><span class="n"><a href="#t227">227</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t228" class="run"><span class="n"><a href="#t228">228</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t229" class="pln"><span class="n"><a href="#t229">229</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t230" class="pln"><span class="n"><a href="#t230">230</a></span><span class="t">        <span class="com">#24 -- 3.5</span>&nbsp;</span><span class="r"></span></p>
    <p id="t231" class="run"><span class="n"><a href="#t231">231</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Token-based Session Management'</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t232" class="run"><span class="n"><a href="#t232">232</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t233" class="run"><span class="n"><a href="#t233">233</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t234" class="pln"><span class="n"><a href="#t234">234</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t235" class="pln"><span class="n"><a href="#t235">235</a></span><span class="t">        <span class="com">#25 -- 3.7 is only 1 item that we should include always</span>&nbsp;</span><span class="r"></span></p>
    <p id="t236" class="run"><span class="n"><a href="#t236">236</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Defenses Against Session Management Exploits'</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t237" class="run"><span class="n"><a href="#t237">237</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t238" class="run"><span class="n"><a href="#t238">238</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t239" class="pln"><span class="n"><a href="#t239">239</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t240" class="pln"><span class="n"><a href="#t240">240</a></span><span class="t">        <span class="com">#26 -- 4.1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t241" class="run"><span class="n"><a href="#t241">241</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'General Access Control Design'</span><span class="op">,</span> <span class="num">4</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t242" class="run"><span class="n"><a href="#t242">242</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t243" class="run"><span class="n"><a href="#t243">243</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t244" class="pln"><span class="n"><a href="#t244">244</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t245" class="pln"><span class="n"><a href="#t245">245</a></span><span class="t">        <span class="com">#27 -- 4.2 include always both items</span>&nbsp;</span><span class="r"></span></p>
    <p id="t246" class="run"><span class="n"><a href="#t246">246</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Operation Level Access Control'</span><span class="op">,</span> <span class="num">4</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t247" class="run"><span class="n"><a href="#t247">247</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t248" class="run"><span class="n"><a href="#t248">248</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t249" class="pln"><span class="n"><a href="#t249">249</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t250" class="pln"><span class="n"><a href="#t250">250</a></span><span class="t">        <span class="com">#28 -- 4.3 include always both items</span>&nbsp;</span><span class="r"></span></p>
    <p id="t251" class="run"><span class="n"><a href="#t251">251</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Other Access Control Considerations'</span><span class="op">,</span> <span class="num">4</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t252" class="run"><span class="n"><a href="#t252">252</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t253" class="run"><span class="n"><a href="#t253">253</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t254" class="pln"><span class="n"><a href="#t254">254</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t255" class="pln"><span class="n"><a href="#t255">255</a></span><span class="t">        <span class="com">#29 -- 5.1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t256" class="run"><span class="n"><a href="#t256">256</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Input Validation Requirements (parameter binding, url redirects, structure checking credit cards, phone numbers, etc, http request methods)'</span><span class="op">,</span> <span class="num">5</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t257" class="run"><span class="n"><a href="#t257">257</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t258" class="run"><span class="n"><a href="#t258">258</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t259" class="pln"><span class="n"><a href="#t259">259</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t260" class="pln"><span class="n"><a href="#t260">260</a></span><span class="t">        <span class="com">#30 -- 5.2</span>&nbsp;</span><span class="r"></span></p>
    <p id="t261" class="run"><span class="n"><a href="#t261">261</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Sanitization and Sandboxing Requirements (type/length checking, SSRF, wysiwyg/markdown/bbcode/etc)'</span><span class="op">,</span> <span class="num">5</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t262" class="run"><span class="n"><a href="#t262">262</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t263" class="run"><span class="n"><a href="#t263">263</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t264" class="pln"><span class="n"><a href="#t264">264</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t265" class="pln"><span class="n"><a href="#t265">265</a></span><span class="t">        <span class="com">#31 -- 5.3 </span>&nbsp;</span><span class="r"></span></p>
    <p id="t266" class="run"><span class="n"><a href="#t266">266</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Outputting user supplied input on the client side (browser)'</span><span class="op">,</span> <span class="num">5</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t267" class="run"><span class="n"><a href="#t267">267</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t268" class="run"><span class="n"><a href="#t268">268</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t269" class="pln"><span class="n"><a href="#t269">269</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t270" class="pln"><span class="n"><a href="#t270">270</a></span><span class="t">        <span class="com">#32 -- 5.3 </span>&nbsp;</span><span class="r"></span></p>
    <p id="t271" class="run"><span class="n"><a href="#t271">271</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Getting files from the local file system'</span><span class="op">,</span> <span class="num">5</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t272" class="run"><span class="n"><a href="#t272">272</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t273" class="run"><span class="n"><a href="#t273">273</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t274" class="pln"><span class="n"><a href="#t274">274</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t275" class="pln"><span class="n"><a href="#t275">275</a></span><span class="t">        <span class="com">#33 -- 5.3 </span>&nbsp;</span><span class="r"></span></p>
    <p id="t276" class="run"><span class="n"><a href="#t276">276</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Using data selection or database queries (e.g. SQL, HQL, ORM, NoSQL)'</span><span class="op">,</span> <span class="num">5</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t277" class="run"><span class="n"><a href="#t277">277</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t278" class="run"><span class="n"><a href="#t278">278</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t279" class="pln"><span class="n"><a href="#t279">279</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t280" class="pln"><span class="n"><a href="#t280">280</a></span><span class="t">        <span class="com">#34 -- 5.3 </span>&nbsp;</span><span class="r"></span></p>
    <p id="t281" class="run"><span class="n"><a href="#t281">281</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Using LDAP'</span><span class="op">,</span> <span class="num">5</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t282" class="run"><span class="n"><a href="#t282">282</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t283" class="run"><span class="n"><a href="#t283">283</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t284" class="pln"><span class="n"><a href="#t284">284</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t285" class="pln"><span class="n"><a href="#t285">285</a></span><span class="t">        <span class="com">#35 -- 5.3 </span>&nbsp;</span><span class="r"></span></p>
    <p id="t286" class="run"><span class="n"><a href="#t286">286</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Using functions that perfom OS commands'</span><span class="op">,</span> <span class="num">5</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t287" class="run"><span class="n"><a href="#t287">287</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t288" class="run"><span class="n"><a href="#t288">288</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t289" class="pln"><span class="n"><a href="#t289">289</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t290" class="pln"><span class="n"><a href="#t290">290</a></span><span class="t">        <span class="com">#36 --  5.3</span>&nbsp;</span><span class="r"></span></p>
    <p id="t291" class="run"><span class="n"><a href="#t291">291</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Using XML/Xpath?'</span><span class="op">,</span> <span class="num">5</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t292" class="run"><span class="n"><a href="#t292">292</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t293" class="run"><span class="n"><a href="#t293">293</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t294" class="pln"><span class="n"><a href="#t294">294</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t295" class="pln"><span class="n"><a href="#t295">295</a></span><span class="t">        <span class="com">#37 -- 5.5</span>&nbsp;</span><span class="r"></span></p>
    <p id="t296" class="run"><span class="n"><a href="#t296">296</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Are you deserializng objects (json, xml, bytestreams, yaml, etc)'</span><span class="op">,</span> <span class="num">5</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t297" class="run"><span class="n"><a href="#t297">297</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t298" class="run"><span class="n"><a href="#t298">298</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t299" class="pln"><span class="n"><a href="#t299">299</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t300" class="pln"><span class="n"><a href="#t300">300</a></span><span class="t">        <span class="com">#38 -- 6.1 </span>&nbsp;</span><span class="r"></span></p>
    <p id="t301" class="run"><span class="n"><a href="#t301">301</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Does your data need to be stored encrypted?'</span><span class="op">,</span> <span class="num">6</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t302" class="run"><span class="n"><a href="#t302">302</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t303" class="run"><span class="n"><a href="#t303">303</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t304" class="pln"><span class="n"><a href="#t304">304</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t305" class="pln"><span class="n"><a href="#t305">305</a></span><span class="t">        <span class="com">#39 -- 6.2</span>&nbsp;</span><span class="r"></span></p>
    <p id="t306" class="run"><span class="n"><a href="#t306">306</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Does your application need cryptgrapic functions (they need to be on par with the latest known to be secure standards)'</span><span class="op">,</span> <span class="num">6</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t307" class="run"><span class="n"><a href="#t307">307</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t308" class="run"><span class="n"><a href="#t308">308</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t309" class="pln"><span class="n"><a href="#t309">309</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t310" class="pln"><span class="n"><a href="#t310">310</a></span><span class="t">        <span class="com">#40 -- 6.3</span>&nbsp;</span><span class="r"></span></p>
    <p id="t311" class="run"><span class="n"><a href="#t311">311</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Does your application need secure random values or UUIDs (are they tested for sufficient entropy?)'</span><span class="op">,</span> <span class="num">6</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t312" class="run"><span class="n"><a href="#t312">312</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t313" class="run"><span class="n"><a href="#t313">313</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t314" class="pln"><span class="n"><a href="#t314">314</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t315" class="pln"><span class="n"><a href="#t315">315</a></span><span class="t">        <span class="com">#41 -- 6.4</span>&nbsp;</span><span class="r"></span></p>
    <p id="t316" class="run"><span class="n"><a href="#t316">316</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Do your secrets need to be managed in a key-vault?'</span><span class="op">,</span> <span class="num">6</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t317" class="run"><span class="n"><a href="#t317">317</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t318" class="run"><span class="n"><a href="#t318">318</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t319" class="pln"><span class="n"><a href="#t319">319</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t320" class="pln"><span class="n"><a href="#t320">320</a></span><span class="t">        <span class="com">#42 -- 7.1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t321" class="run"><span class="n"><a href="#t321">321</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Is the application logging sensitive information? (credentials, payment details, tokens, etc)'</span><span class="op">,</span> <span class="num">7</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t322" class="run"><span class="n"><a href="#t322">322</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t323" class="run"><span class="n"><a href="#t323">323</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t324" class="pln"><span class="n"><a href="#t324">324</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t325" class="pln"><span class="n"><a href="#t325">325</a></span><span class="t">        <span class="com">#43 -- 7.2</span>&nbsp;</span><span class="r"></span></p>
    <p id="t326" class="run"><span class="n"><a href="#t326">326</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Does the application needs to actively do logging (Do logs exist for authentication/ access control decisions?)'</span><span class="op">,</span> <span class="num">7</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t327" class="run"><span class="n"><a href="#t327">327</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t328" class="run"><span class="n"><a href="#t328">328</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t329" class="pln"><span class="n"><a href="#t329">329</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t330" class="pln"><span class="n"><a href="#t330">330</a></span><span class="t">        <span class="com">#44 -- 7.3</span>&nbsp;</span><span class="r"></span></p>
    <p id="t331" class="run"><span class="n"><a href="#t331">331</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Do you need to implement log protection (Are logs protected for un-authorized access, injection flaws(also in viewing software), and are timestamps synced to match respective timezones)'</span><span class="op">,</span> <span class="num">7</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t332" class="run"><span class="n"><a href="#t332">332</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t333" class="run"><span class="n"><a href="#t333">333</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t334" class="pln"><span class="n"><a href="#t334">334</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t335" class="pln"><span class="n"><a href="#t335">335</a></span><span class="t">        <span class="com">#45 -- 7.4</span>&nbsp;</span><span class="r"></span></p>
    <p id="t336" class="run"><span class="n"><a href="#t336">336</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Do you need centrilized error handling (Are errors on the application gracefully handled and show non generic error messages?)'</span><span class="op">,</span> <span class="num">7</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t337" class="run"><span class="n"><a href="#t337">337</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t338" class="run"><span class="n"><a href="#t338">338</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t339" class="pln"><span class="n"><a href="#t339">339</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t340" class="pln"><span class="n"><a href="#t340">340</a></span><span class="t">        <span class="com">#46 -- 8.1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t341" class="run"><span class="n"><a href="#t341">341</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'General data protection requirements'</span><span class="op">,</span> <span class="num">8</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t342" class="run"><span class="n"><a href="#t342">342</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t343" class="run"><span class="n"><a href="#t343">343</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t344" class="pln"><span class="n"><a href="#t344">344</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t345" class="pln"><span class="n"><a href="#t345">345</a></span><span class="t">        <span class="com">#47 -- 8.2</span>&nbsp;</span><span class="r"></span></p>
    <p id="t346" class="run"><span class="n"><a href="#t346">346</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Client side data protection requirements (localstorage, session storage, cookies, etc)'</span><span class="op">,</span> <span class="num">8</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t347" class="run"><span class="n"><a href="#t347">347</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t348" class="run"><span class="n"><a href="#t348">348</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t349" class="pln"><span class="n"><a href="#t349">349</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t350" class="pln"><span class="n"><a href="#t350">350</a></span><span class="t">        <span class="com">#48 -- 8.3</span>&nbsp;</span><span class="r"></span></p>
    <p id="t351" class="run"><span class="n"><a href="#t351">351</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'requirements how to handle sensitive private data (personal identifiable infomation)'</span><span class="op">,</span> <span class="num">8</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t352" class="run"><span class="n"><a href="#t352">352</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t353" class="run"><span class="n"><a href="#t353">353</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t354" class="pln"><span class="n"><a href="#t354">354</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t355" class="pln"><span class="n"><a href="#t355">355</a></span><span class="t">        <span class="com">#49 -- 9.1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t356" class="run"><span class="n"><a href="#t356">356</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Communication security requirements'</span><span class="op">,</span> <span class="num">9</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t357" class="run"><span class="n"><a href="#t357">357</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t358" class="run"><span class="n"><a href="#t358">358</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t359" class="pln"><span class="n"><a href="#t359">359</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t360" class="pln"><span class="n"><a href="#t360">360</a></span><span class="t">        <span class="com">#50 -- 9.2</span>&nbsp;</span><span class="r"></span></p>
    <p id="t361" class="run"><span class="n"><a href="#t361">361</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Server security communication requirements'</span><span class="op">,</span> <span class="num">9</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t362" class="run"><span class="n"><a href="#t362">362</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t363" class="run"><span class="n"><a href="#t363">363</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t364" class="pln"><span class="n"><a href="#t364">364</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t365" class="pln"><span class="n"><a href="#t365">365</a></span><span class="t">        <span class="com">#51 -- 10.1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t366" class="run"><span class="n"><a href="#t366">366</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Code integrity controls'</span><span class="op">,</span> <span class="num">10</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t367" class="run"><span class="n"><a href="#t367">367</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t368" class="run"><span class="n"><a href="#t368">368</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t369" class="pln"><span class="n"><a href="#t369">369</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t370" class="pln"><span class="n"><a href="#t370">370</a></span><span class="t">        <span class="com">#52 -- 10.2</span>&nbsp;</span><span class="r"></span></p>
    <p id="t371" class="run"><span class="n"><a href="#t371">371</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Malicious code search'</span><span class="op">,</span> <span class="num">10</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t372" class="run"><span class="n"><a href="#t372">372</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t373" class="run"><span class="n"><a href="#t373">373</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t374" class="pln"><span class="n"><a href="#t374">374</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t375" class="pln"><span class="n"><a href="#t375">375</a></span><span class="t">        <span class="com">#53 -- 10.3</span>&nbsp;</span><span class="r"></span></p>
    <p id="t376" class="run"><span class="n"><a href="#t376">376</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Deployed application integrity controls'</span><span class="op">,</span> <span class="num">10</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t377" class="run"><span class="n"><a href="#t377">377</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t378" class="run"><span class="n"><a href="#t378">378</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t379" class="pln"><span class="n"><a href="#t379">379</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t380" class="pln"><span class="n"><a href="#t380">380</a></span><span class="t">        <span class="com">#54 -- 11.1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t381" class="run"><span class="n"><a href="#t381">381</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Business Logic Security Requirements'</span><span class="op">,</span> <span class="num">11</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t382" class="run"><span class="n"><a href="#t382">382</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t383" class="run"><span class="n"><a href="#t383">383</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t384" class="pln"><span class="n"><a href="#t384">384</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t385" class="pln"><span class="n"><a href="#t385">385</a></span><span class="t">        <span class="com">#55 -- 12.1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t386" class="run"><span class="n"><a href="#t386">386</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'File Upload Requirements'</span><span class="op">,</span> <span class="num">12</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t387" class="run"><span class="n"><a href="#t387">387</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t388" class="run"><span class="n"><a href="#t388">388</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t389" class="pln"><span class="n"><a href="#t389">389</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t390" class="pln"><span class="n"><a href="#t390">390</a></span><span class="t">        <span class="com">#56 -- 12.2</span>&nbsp;</span><span class="r"></span></p>
    <p id="t391" class="run"><span class="n"><a href="#t391">391</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'File Integrity Requirements'</span><span class="op">,</span> <span class="num">12</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t392" class="run"><span class="n"><a href="#t392">392</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t393" class="run"><span class="n"><a href="#t393">393</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t394" class="pln"><span class="n"><a href="#t394">394</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t395" class="pln"><span class="n"><a href="#t395">395</a></span><span class="t">        <span class="com">#57 -- 12.3</span>&nbsp;</span><span class="r"></span></p>
    <p id="t396" class="run"><span class="n"><a href="#t396">396</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'File execution Requirements'</span><span class="op">,</span> <span class="num">12</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t397" class="run"><span class="n"><a href="#t397">397</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t398" class="run"><span class="n"><a href="#t398">398</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t399" class="pln"><span class="n"><a href="#t399">399</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t400" class="pln"><span class="n"><a href="#t400">400</a></span><span class="t">        <span class="com">#58 -- 12.4</span>&nbsp;</span><span class="r"></span></p>
    <p id="t401" class="run"><span class="n"><a href="#t401">401</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'File Storage Requirements'</span><span class="op">,</span> <span class="num">12</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t402" class="run"><span class="n"><a href="#t402">402</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t403" class="run"><span class="n"><a href="#t403">403</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t404" class="pln"><span class="n"><a href="#t404">404</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t405" class="pln"><span class="n"><a href="#t405">405</a></span><span class="t">        <span class="com">#59 -- 12.5</span>&nbsp;</span><span class="r"></span></p>
    <p id="t406" class="run"><span class="n"><a href="#t406">406</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'File download Requirements'</span><span class="op">,</span> <span class="num">12</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t407" class="run"><span class="n"><a href="#t407">407</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t408" class="run"><span class="n"><a href="#t408">408</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t409" class="pln"><span class="n"><a href="#t409">409</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t410" class="pln"><span class="n"><a href="#t410">410</a></span><span class="t">        <span class="com">#60 -- 12.6</span>&nbsp;</span><span class="r"></span></p>
    <p id="t411" class="run"><span class="n"><a href="#t411">411</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'SSRF Protection Requirements'</span><span class="op">,</span> <span class="num">12</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t412" class="run"><span class="n"><a href="#t412">412</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t413" class="run"><span class="n"><a href="#t413">413</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t414" class="pln"><span class="n"><a href="#t414">414</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t415" class="pln"><span class="n"><a href="#t415">415</a></span><span class="t">        <span class="com">#61 -- 13.1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t416" class="run"><span class="n"><a href="#t416">416</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Generic Web Service Security Verification Requirements'</span><span class="op">,</span> <span class="num">13</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t417" class="run"><span class="n"><a href="#t417">417</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t418" class="run"><span class="n"><a href="#t418">418</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t419" class="pln"><span class="n"><a href="#t419">419</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t420" class="pln"><span class="n"><a href="#t420">420</a></span><span class="t">        <span class="com">#62 -- 13.2</span>&nbsp;</span><span class="r"></span></p>
    <p id="t421" class="run"><span class="n"><a href="#t421">421</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'RESTful Web Service Verification Requirements'</span><span class="op">,</span> <span class="num">13</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t422" class="run"><span class="n"><a href="#t422">422</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t423" class="run"><span class="n"><a href="#t423">423</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t424" class="pln"><span class="n"><a href="#t424">424</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t425" class="pln"><span class="n"><a href="#t425">425</a></span><span class="t">        <span class="com">#63 -- 13.3</span>&nbsp;</span><span class="r"></span></p>
    <p id="t426" class="run"><span class="n"><a href="#t426">426</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'SOAP Web Service Verification Requirements'</span><span class="op">,</span> <span class="num">13</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t427" class="run"><span class="n"><a href="#t427">427</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t428" class="run"><span class="n"><a href="#t428">428</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t429" class="pln"><span class="n"><a href="#t429">429</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t430" class="pln"><span class="n"><a href="#t430">430</a></span><span class="t">        <span class="com">#64 -- 13.4</span>&nbsp;</span><span class="r"></span></p>
    <p id="t431" class="run"><span class="n"><a href="#t431">431</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'GraphQL and other Web Service Data Layer Security Requirements'</span><span class="op">,</span> <span class="num">13</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t432" class="run"><span class="n"><a href="#t432">432</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t433" class="run"><span class="n"><a href="#t433">433</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t434" class="pln"><span class="n"><a href="#t434">434</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t435" class="pln"><span class="n"><a href="#t435">435</a></span><span class="t">        <span class="com">#65 -- 14.1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t436" class="run"><span class="n"><a href="#t436">436</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Build pipeline configuration'</span><span class="op">,</span> <span class="num">14</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t437" class="run"><span class="n"><a href="#t437">437</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t438" class="run"><span class="n"><a href="#t438">438</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t439" class="pln"><span class="n"><a href="#t439">439</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t440" class="pln"><span class="n"><a href="#t440">440</a></span><span class="t">        <span class="com">#66 -- 14.2</span>&nbsp;</span><span class="r"></span></p>
    <p id="t441" class="run"><span class="n"><a href="#t441">441</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Dependency checking'</span><span class="op">,</span> <span class="num">14</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t442" class="run"><span class="n"><a href="#t442">442</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t443" class="run"><span class="n"><a href="#t443">443</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t444" class="pln"><span class="n"><a href="#t444">444</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t445" class="pln"><span class="n"><a href="#t445">445</a></span><span class="t">        <span class="com">#67 -- 14.3</span>&nbsp;</span><span class="r"></span></p>
    <p id="t446" class="run"><span class="n"><a href="#t446">446</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Unintended Security Disclosure Requirements'</span><span class="op">,</span> <span class="num">14</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t447" class="run"><span class="n"><a href="#t447">447</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t448" class="run"><span class="n"><a href="#t448">448</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t449" class="pln"><span class="n"><a href="#t449">449</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t450" class="pln"><span class="n"><a href="#t450">450</a></span><span class="t">        <span class="com">#68 -- 14.4</span>&nbsp;</span><span class="r"></span></p>
    <p id="t451" class="run"><span class="n"><a href="#t451">451</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'HTTP Security Headers Requirements'</span><span class="op">,</span> <span class="num">14</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t452" class="run"><span class="n"><a href="#t452">452</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t453" class="run"><span class="n"><a href="#t453">453</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t454" class="pln"><span class="n"><a href="#t454">454</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t455" class="pln"><span class="n"><a href="#t455">455</a></span><span class="t">        <span class="com">#69 -- 14.5</span>&nbsp;</span><span class="r"></span></p>
    <p id="t456" class="run"><span class="n"><a href="#t456">456</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Validate HTTP Request Header Requirements'</span><span class="op">,</span> <span class="num">14</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t457" class="run"><span class="n"><a href="#t457">457</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t458" class="run"><span class="n"><a href="#t458">458</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t459" class="pln"><span class="n"><a href="#t459">459</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t460" class="pln"><span class="n"><a href="#t460">460</a></span><span class="t">        <span class="com">#70 -- 1.11 </span>&nbsp;</span><span class="r"></span></p>
    <p id="t461" class="run"><span class="n"><a href="#t461">461</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Business Logic Architectural Requirements'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t462" class="run"><span class="n"><a href="#t462">462</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t463" class="run"><span class="n"><a href="#t463">463</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t464" class="pln"><span class="n"><a href="#t464">464</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t465" class="pln"><span class="n"><a href="#t465">465</a></span><span class="t">        <span class="com">#71 -- 1.12</span>&nbsp;</span><span class="r"></span></p>
    <p id="t466" class="run"><span class="n"><a href="#t466">466</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Secure File Upload Architectural Requirementss'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t467" class="run"><span class="n"><a href="#t467">467</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t468" class="run"><span class="n"><a href="#t468">468</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t469" class="pln"><span class="n"><a href="#t469">469</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t470" class="pln"><span class="n"><a href="#t470">470</a></span><span class="t">        <span class="com">#72 -- 1.14</span>&nbsp;</span><span class="r"></span></p>
    <p id="t471" class="run"><span class="n"><a href="#t471">471</a></span><span class="t">        <span class="nam">q</span> <span class="op">=</span> <span class="nam">Question</span><span class="op">(</span><span class="str">'Configuration Architectural Requirements'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t472" class="run"><span class="n"><a href="#t472">472</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">q</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t473" class="run"><span class="n"><a href="#t473">473</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t474" class="pln"><span class="n"><a href="#t474">474</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t475" class="run"><span class="n"><a href="#t475">475</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.0'</span><span class="op">,</span> <span class="str">'Architecture, Design and Threat Modeling Requirements'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="key">None</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t476" class="run"><span class="n"><a href="#t476">476</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="key">None</span>&nbsp;</span><span class="r"></span></p>
    <p id="t477" class="run"><span class="n"><a href="#t477">477</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t478" class="run"><span class="n"><a href="#t478">478</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t479" class="run"><span class="n"><a href="#t479">479</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t480" class="pln"><span class="n"><a href="#t480">480</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t481" class="run"><span class="n"><a href="#t481">481</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.1.1'</span><span class="op">,</span> <span class="str">'Verify the use of a secure software development lifecycle that addresses security in all stages of development.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t482" class="run"><span class="n"><a href="#t482">482</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t483" class="run"><span class="n"><a href="#t483">483</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">272</span>&nbsp;</span><span class="r"></span></p>
    <p id="t484" class="run"><span class="n"><a href="#t484">484</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t485" class="run"><span class="n"><a href="#t485">485</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t486" class="pln"><span class="n"><a href="#t486">486</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t487" class="run"><span class="n"><a href="#t487">487</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.1.2'</span><span class="op">,</span> <span class="str">'Verify the use of threat modeling for every design change or sprint planning to identify threats, plan for countermeasures, facilitate appropriate risk responses, and guide security testing.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">True</span><span class="op">,</span> <span class="num">1053</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t488" class="run"><span class="n"><a href="#t488">488</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t489" class="run"><span class="n"><a href="#t489">489</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">164</span>&nbsp;</span><span class="r"></span></p>
    <p id="t490" class="run"><span class="n"><a href="#t490">490</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t491" class="run"><span class="n"><a href="#t491">491</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t492" class="pln"><span class="n"><a href="#t492">492</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t493" class="run"><span class="n"><a href="#t493">493</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.1.3'</span><span class="op">,</span> <span class="str">'Verify that all user stories and features contain functional security constraints, such as "As a user, I should be able to view and edit my profile. I should not be able to view or edit anyone else\s profile'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">True</span><span class="op">,</span> <span class="num">1110</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t494" class="run"><span class="n"><a href="#t494">494</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t495" class="run"><span class="n"><a href="#t495">495</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">273</span>&nbsp;</span><span class="r"></span></p>
    <p id="t496" class="run"><span class="n"><a href="#t496">496</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t497" class="run"><span class="n"><a href="#t497">497</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t498" class="pln"><span class="n"><a href="#t498">498</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t499" class="run"><span class="n"><a href="#t499">499</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.1.4'</span><span class="op">,</span> <span class="str">'Verify documentation and justification of all the application\s trust boundaries, components, and significant data flows.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">1059</span><span class="op">,</span><span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t500" class="run"><span class="n"><a href="#t500">500</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t501" class="run"><span class="n"><a href="#t501">501</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t502" class="run"><span class="n"><a href="#t502">502</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t503" class="run"><span class="n"><a href="#t503">503</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t504" class="pln"><span class="n"><a href="#t504">504</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t505" class="run"><span class="n"><a href="#t505">505</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.1.5'</span><span class="op">,</span> <span class="str">'Verify definition and security analysis of the application\s high-level architecture and all connected remote services. '</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">1059</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t506" class="run"><span class="n"><a href="#t506">506</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t507" class="run"><span class="n"><a href="#t507">507</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t508" class="run"><span class="n"><a href="#t508">508</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t509" class="run"><span class="n"><a href="#t509">509</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t510" class="pln"><span class="n"><a href="#t510">510</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t511" class="run"><span class="n"><a href="#t511">511</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.1.6'</span><span class="op">,</span> <span class="str">'Verify implementation of centralized, simple (economy of design); vetted, secure, and reusable security controls to avoid duplicate, missing, ineffective, or insecure controls.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">True</span><span class="op">,</span> <span class="num">637</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t512" class="run"><span class="n"><a href="#t512">512</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t513" class="run"><span class="n"><a href="#t513">513</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">184</span>&nbsp;</span><span class="r"></span></p>
    <p id="t514" class="run"><span class="n"><a href="#t514">514</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t515" class="run"><span class="n"><a href="#t515">515</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t516" class="pln"><span class="n"><a href="#t516">516</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t517" class="run"><span class="n"><a href="#t517">517</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.1.7'</span><span class="op">,</span> <span class="str">'Verify availability of a secure coding checklist, security requirements, guideline, or policy to all developers and testers.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">637</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t518" class="run"><span class="n"><a href="#t518">518</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t519" class="run"><span class="n"><a href="#t519">519</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t520" class="run"><span class="n"><a href="#t520">520</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t521" class="run"><span class="n"><a href="#t521">521</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t522" class="pln"><span class="n"><a href="#t522">522</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t523" class="run"><span class="n"><a href="#t523">523</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.2.1'</span><span class="op">,</span> <span class="str">'Verify the use of unique or special low-privilege operating system accounts for all application components, services, and servers.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">250</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t524" class="run"><span class="n"><a href="#t524">524</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">2</span>&nbsp;</span><span class="r"></span></p>
    <p id="t525" class="run"><span class="n"><a href="#t525">525</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">126</span>&nbsp;</span><span class="r"></span></p>
    <p id="t526" class="run"><span class="n"><a href="#t526">526</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t527" class="run"><span class="n"><a href="#t527">527</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t528" class="pln"><span class="n"><a href="#t528">528</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t529" class="run"><span class="n"><a href="#t529">529</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.2.2'</span><span class="op">,</span> <span class="str">'Verify that communications between application components, including APIs, middleware and data layers, are authenticated. Components should have the least necessary privileges needed.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">306</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t530" class="run"><span class="n"><a href="#t530">530</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">2</span>&nbsp;</span><span class="r"></span></p>
    <p id="t531" class="run"><span class="n"><a href="#t531">531</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">126</span>&nbsp;</span><span class="r"></span></p>
    <p id="t532" class="run"><span class="n"><a href="#t532">532</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t533" class="run"><span class="n"><a href="#t533">533</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t534" class="pln"><span class="n"><a href="#t534">534</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t535" class="run"><span class="n"><a href="#t535">535</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.2.3'</span><span class="op">,</span> <span class="str">'Verify that the application uses a single vetted authentication mechanism that is known to be secure, can be extended to include strong authentication, and has sufficient logging and monitoring to detect account abuse or breaches.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">306</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t536" class="run"><span class="n"><a href="#t536">536</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">2</span>&nbsp;</span><span class="r"></span></p>
    <p id="t537" class="run"><span class="n"><a href="#t537">537</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">259</span>&nbsp;</span><span class="r"></span></p>
    <p id="t538" class="run"><span class="n"><a href="#t538">538</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t539" class="run"><span class="n"><a href="#t539">539</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t540" class="pln"><span class="n"><a href="#t540">540</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t541" class="run"><span class="n"><a href="#t541">541</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.2.4'</span><span class="op">,</span> <span class="str">'Verify that all authentication pathways and identity management APIs implement consistent authentication security control strength, such that there are no weaker alternatives per the risk of the application.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">306</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t542" class="run"><span class="n"><a href="#t542">542</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">2</span>&nbsp;</span><span class="r"></span></p>
    <p id="t543" class="run"><span class="n"><a href="#t543">543</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">85</span>&nbsp;</span><span class="r"></span></p>
    <p id="t544" class="run"><span class="n"><a href="#t544">544</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t545" class="run"><span class="n"><a href="#t545">545</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t546" class="pln"><span class="n"><a href="#t546">546</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t547" class="run"><span class="n"><a href="#t547">547</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.4.1'</span><span class="op">,</span> <span class="str">'Verify that trusted enforcement points such as at access control gateways, servers, and serverless functions enforce access controls. Never enforce access controls on the client.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">602</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t548" class="run"><span class="n"><a href="#t548">548</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">3</span>&nbsp;</span><span class="r"></span></p>
    <p id="t549" class="run"><span class="n"><a href="#t549">549</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">240</span>&nbsp;</span><span class="r"></span></p>
    <p id="t550" class="run"><span class="n"><a href="#t550">550</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t551" class="run"><span class="n"><a href="#t551">551</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t552" class="pln"><span class="n"><a href="#t552">552</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t553" class="run"><span class="n"><a href="#t553">553</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.4.2'</span><span class="op">,</span> <span class="str">'Verify that the chosen access control solution is flexible enough to meet the application\s needs.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">284</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t554" class="run"><span class="n"><a href="#t554">554</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">3</span>&nbsp;</span><span class="r"></span></p>
    <p id="t555" class="run"><span class="n"><a href="#t555">555</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t556" class="run"><span class="n"><a href="#t556">556</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t557" class="run"><span class="n"><a href="#t557">557</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t558" class="pln"><span class="n"><a href="#t558">558</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t559" class="run"><span class="n"><a href="#t559">559</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.4.3'</span><span class="op">,</span> <span class="str">'Verify enforcement of the principle of least privilege in functions, data files, URLs, controllers, services, and other resources. This implies protection against spoofing and elevation of privilege.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">272</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t560" class="run"><span class="n"><a href="#t560">560</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">3</span>&nbsp;</span><span class="r"></span></p>
    <p id="t561" class="run"><span class="n"><a href="#t561">561</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">126</span>&nbsp;</span><span class="r"></span></p>
    <p id="t562" class="run"><span class="n"><a href="#t562">562</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t563" class="run"><span class="n"><a href="#t563">563</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t564" class="pln"><span class="n"><a href="#t564">564</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t565" class="run"><span class="n"><a href="#t565">565</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.4.4'</span><span class="op">,</span> <span class="str">'Verify the application uses a single and well-vetted access control mechanism for accessing protected data and resources. All requests must pass through this single mechanism to avoid copy and paste or insecure alternative paths.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">284</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t566" class="run"><span class="n"><a href="#t566">566</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">3</span>&nbsp;</span><span class="r"></span></p>
    <p id="t567" class="run"><span class="n"><a href="#t567">567</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t568" class="run"><span class="n"><a href="#t568">568</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t569" class="run"><span class="n"><a href="#t569">569</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t570" class="pln"><span class="n"><a href="#t570">570</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t571" class="run"><span class="n"><a href="#t571">571</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.4.5'</span><span class="op">,</span> <span class="str">'Verify that attribute or feature-based access control is used whereby the code checks the user\s authorization for a feature/data item rather than just their role.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">275</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t572" class="run"><span class="n"><a href="#t572">572</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">3</span>&nbsp;</span><span class="r"></span></p>
    <p id="t573" class="run"><span class="n"><a href="#t573">573</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">274</span>&nbsp;</span><span class="r"></span></p>
    <p id="t574" class="run"><span class="n"><a href="#t574">574</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t575" class="run"><span class="n"><a href="#t575">575</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t576" class="pln"><span class="n"><a href="#t576">576</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t577" class="run"><span class="n"><a href="#t577">577</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.5.1'</span><span class="op">,</span> <span class="str">'Verify that input and output requirements clearly define how to handle and process data based on type, content, and applicable laws, regulations, and other policy compliance.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">1029</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t578" class="run"><span class="n"><a href="#t578">578</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">4</span>&nbsp;</span><span class="r"></span></p>
    <p id="t579" class="run"><span class="n"><a href="#t579">579</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t580" class="run"><span class="n"><a href="#t580">580</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t581" class="run"><span class="n"><a href="#t581">581</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t582" class="pln"><span class="n"><a href="#t582">582</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t583" class="run"><span class="n"><a href="#t583">583</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.5.2'</span><span class="op">,</span> <span class="str">'Verify that serialization is not used when communicating with untrusted clients. If this is not possible, ensure that adequate integrity controls (and possibly encryption if sensitive data is sent) are enforced to prevent deserialization attacks including object injection.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">502</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t584" class="run"><span class="n"><a href="#t584">584</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">4</span>&nbsp;</span><span class="r"></span></p>
    <p id="t585" class="run"><span class="n"><a href="#t585">585</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t586" class="run"><span class="n"><a href="#t586">586</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t587" class="run"><span class="n"><a href="#t587">587</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t588" class="pln"><span class="n"><a href="#t588">588</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t589" class="run"><span class="n"><a href="#t589">589</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.5.3'</span><span class="op">,</span> <span class="str">'Verify that input validation is enforced on a trusted service layer.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">602</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t590" class="run"><span class="n"><a href="#t590">590</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">4</span>&nbsp;</span><span class="r"></span></p>
    <p id="t591" class="run"><span class="n"><a href="#t591">591</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t592" class="run"><span class="n"><a href="#t592">592</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t593" class="run"><span class="n"><a href="#t593">593</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t594" class="pln"><span class="n"><a href="#t594">594</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t595" class="run"><span class="n"><a href="#t595">595</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.5.4'</span><span class="op">,</span> <span class="str">'Verify that output encoding occurs close to or by the interpreter for which it is intended.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">116</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t596" class="run"><span class="n"><a href="#t596">596</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">4</span>&nbsp;</span><span class="r"></span></p>
    <p id="t597" class="run"><span class="n"><a href="#t597">597</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t598" class="run"><span class="n"><a href="#t598">598</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t599" class="run"><span class="n"><a href="#t599">599</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t600" class="pln"><span class="n"><a href="#t600">600</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t601" class="run"><span class="n"><a href="#t601">601</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.6.1'</span><span class="op">,</span> <span class="str">'Verify that there is an explicit policy for management of cryptographic keys and that a cryptographic key lifecycle follows a key management standard such as NIST SP 800-57.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">320</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t602" class="run"><span class="n"><a href="#t602">602</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">5</span>&nbsp;</span><span class="r"></span></p>
    <p id="t603" class="run"><span class="n"><a href="#t603">603</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">275</span>&nbsp;</span><span class="r"></span></p>
    <p id="t604" class="run"><span class="n"><a href="#t604">604</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t605" class="run"><span class="n"><a href="#t605">605</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t606" class="pln"><span class="n"><a href="#t606">606</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t607" class="run"><span class="n"><a href="#t607">607</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.6.2'</span><span class="op">,</span> <span class="str">'Verify that consumers of cryptographic services protect key material and other secrets by using key vaults or API based alternatives.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">True</span><span class="op">,</span> <span class="num">320</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t608" class="run"><span class="n"><a href="#t608">608</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">5</span>&nbsp;</span><span class="r"></span></p>
    <p id="t609" class="run"><span class="n"><a href="#t609">609</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">276</span>&nbsp;</span><span class="r"></span></p>
    <p id="t610" class="run"><span class="n"><a href="#t610">610</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t611" class="run"><span class="n"><a href="#t611">611</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t612" class="pln"><span class="n"><a href="#t612">612</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t613" class="run"><span class="n"><a href="#t613">613</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.6.3'</span><span class="op">,</span> <span class="str">'Verify that all keys and passwords are replaceable and are part of a well-defined process to re-encrypt sensitive data.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">320</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t614" class="run"><span class="n"><a href="#t614">614</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">5</span>&nbsp;</span><span class="r"></span></p>
    <p id="t615" class="run"><span class="n"><a href="#t615">615</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">204</span>&nbsp;</span><span class="r"></span></p>
    <p id="t616" class="run"><span class="n"><a href="#t616">616</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t617" class="run"><span class="n"><a href="#t617">617</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t618" class="pln"><span class="n"><a href="#t618">618</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t619" class="run"><span class="n"><a href="#t619">619</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.6.4'</span><span class="op">,</span> <span class="str">'Verify that symmetric keys, passwords, or API secrets generated by or shared with clients are used only in protecting low risk secrets, such as encrypting local storage, or temporary ephemeral uses such as parameter obfuscation. Sharing secrets with clients is clear-text equivalent and architecturally should be treated as such.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">320</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t620" class="run"><span class="n"><a href="#t620">620</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">5</span>&nbsp;</span><span class="r"></span></p>
    <p id="t621" class="run"><span class="n"><a href="#t621">621</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">277</span>&nbsp;</span><span class="r"></span></p>
    <p id="t622" class="run"><span class="n"><a href="#t622">622</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t623" class="run"><span class="n"><a href="#t623">623</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t624" class="pln"><span class="n"><a href="#t624">624</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t625" class="run"><span class="n"><a href="#t625">625</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.7.1'</span><span class="op">,</span> <span class="str">'Verify that a common logging format and approach is used across the system.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">1009</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t626" class="run"><span class="n"><a href="#t626">626</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">6</span>&nbsp;</span><span class="r"></span></p>
    <p id="t627" class="run"><span class="n"><a href="#t627">627</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t628" class="run"><span class="n"><a href="#t628">628</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t629" class="run"><span class="n"><a href="#t629">629</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t630" class="pln"><span class="n"><a href="#t630">630</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t631" class="run"><span class="n"><a href="#t631">631</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.7.2'</span><span class="op">,</span> <span class="str">'Verify that logs are securely transmitted to a preferably remote system for analysis, detection, alerting, and escalation.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t632" class="run"><span class="n"><a href="#t632">632</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">6</span>&nbsp;</span><span class="r"></span></p>
    <p id="t633" class="run"><span class="n"><a href="#t633">633</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t634" class="run"><span class="n"><a href="#t634">634</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t635" class="run"><span class="n"><a href="#t635">635</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t636" class="pln"><span class="n"><a href="#t636">636</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t637" class="run"><span class="n"><a href="#t637">637</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.8.1'</span><span class="op">,</span> <span class="str">'Verify that all sensitive data is identified and classified into protection levels.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t638" class="run"><span class="n"><a href="#t638">638</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">7</span>&nbsp;</span><span class="r"></span></p>
    <p id="t639" class="run"><span class="n"><a href="#t639">639</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">278</span>&nbsp;</span><span class="r"></span></p>
    <p id="t640" class="run"><span class="n"><a href="#t640">640</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t641" class="run"><span class="n"><a href="#t641">641</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t642" class="pln"><span class="n"><a href="#t642">642</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t643" class="run"><span class="n"><a href="#t643">643</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.8.2'</span><span class="op">,</span> <span class="str">'Verify that all protection levels have an associated set of protection requirements, such as encryption requirements, integrity requirements, retention, privacy and other confidentiality requirements, and that these are applied in the architecture.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t644" class="run"><span class="n"><a href="#t644">644</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">7</span>&nbsp;</span><span class="r"></span></p>
    <p id="t645" class="run"><span class="n"><a href="#t645">645</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">278</span>&nbsp;</span><span class="r"></span></p>
    <p id="t646" class="run"><span class="n"><a href="#t646">646</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t647" class="run"><span class="n"><a href="#t647">647</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t648" class="pln"><span class="n"><a href="#t648">648</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t649" class="run"><span class="n"><a href="#t649">649</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.9.1'</span><span class="op">,</span> <span class="str">'Verify the application encrypts communications between components, particularly when these components are in different containers, systems, sites, or cloud providers.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">319</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t650" class="run"><span class="n"><a href="#t650">650</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">8</span>&nbsp;</span><span class="r"></span></p>
    <p id="t651" class="run"><span class="n"><a href="#t651">651</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t652" class="run"><span class="n"><a href="#t652">652</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t653" class="run"><span class="n"><a href="#t653">653</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t654" class="pln"><span class="n"><a href="#t654">654</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t655" class="run"><span class="n"><a href="#t655">655</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.9.2'</span><span class="op">,</span> <span class="str">'Verify that application components verify the authenticity of each side in a communication link to prevent person-in-the-middle attacks. For example, application components should validate TLS certificates and chains.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">295</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t656" class="run"><span class="n"><a href="#t656">656</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">8</span>&nbsp;</span><span class="r"></span></p>
    <p id="t657" class="run"><span class="n"><a href="#t657">657</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t658" class="run"><span class="n"><a href="#t658">658</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t659" class="run"><span class="n"><a href="#t659">659</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t660" class="pln"><span class="n"><a href="#t660">660</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t661" class="run"><span class="n"><a href="#t661">661</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.10.1'</span><span class="op">,</span> <span class="str">'Verify that a source code control system is in use, with procedures to ensure that check-ins are accompanied by issues or change tickets. The source code control system should have access control and identifiable users to allow traceability of any changes.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">284</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t662" class="run"><span class="n"><a href="#t662">662</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">9</span>&nbsp;</span><span class="r"></span></p>
    <p id="t663" class="run"><span class="n"><a href="#t663">663</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">279</span>&nbsp;</span><span class="r"></span></p>
    <p id="t664" class="run"><span class="n"><a href="#t664">664</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t665" class="run"><span class="n"><a href="#t665">665</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t666" class="pln"><span class="n"><a href="#t666">666</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t667" class="run"><span class="n"><a href="#t667">667</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.11.1'</span><span class="op">,</span> <span class="str">'Verify the definition and documentation of all application components in terms of the business or security functions they provide.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">1059</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t668" class="run"><span class="n"><a href="#t668">668</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">70</span>&nbsp;</span><span class="r"></span></p>
    <p id="t669" class="run"><span class="n"><a href="#t669">669</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t670" class="run"><span class="n"><a href="#t670">670</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t671" class="run"><span class="n"><a href="#t671">671</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t672" class="pln"><span class="n"><a href="#t672">672</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t673" class="run"><span class="n"><a href="#t673">673</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.11.2'</span><span class="op">,</span> <span class="str">'Verify that all high-value business logic flows, including authentication, session management and access control, do not share unsynchronized state.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">362</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t674" class="run"><span class="n"><a href="#t674">674</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">70</span>&nbsp;</span><span class="r"></span></p>
    <p id="t675" class="run"><span class="n"><a href="#t675">675</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t676" class="run"><span class="n"><a href="#t676">676</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t677" class="run"><span class="n"><a href="#t677">677</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t678" class="pln"><span class="n"><a href="#t678">678</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t679" class="run"><span class="n"><a href="#t679">679</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.11.3'</span><span class="op">,</span> <span class="str">'Verify that all high-value business logic flows, including authentication, session management and access control are thread safe and resistant to time-of-check and time-of-use race conditions.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">362</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t680" class="run"><span class="n"><a href="#t680">680</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">70</span>&nbsp;</span><span class="r"></span></p>
    <p id="t681" class="run"><span class="n"><a href="#t681">681</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t682" class="run"><span class="n"><a href="#t682">682</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t683" class="run"><span class="n"><a href="#t683">683</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t684" class="pln"><span class="n"><a href="#t684">684</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t685" class="run"><span class="n"><a href="#t685">685</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.12.1'</span><span class="op">,</span> <span class="str">'Verify that user-uploaded files are stored outside of the web root.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">552</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t686" class="run"><span class="n"><a href="#t686">686</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">71</span>&nbsp;</span><span class="r"></span></p>
    <p id="t687" class="run"><span class="n"><a href="#t687">687</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">227</span>&nbsp;</span><span class="r"></span></p>
    <p id="t688" class="run"><span class="n"><a href="#t688">688</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t689" class="run"><span class="n"><a href="#t689">689</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t690" class="pln"><span class="n"><a href="#t690">690</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t691" class="run"><span class="n"><a href="#t691">691</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.12.2'</span><span class="op">,</span> <span class="str">'Verify that user-uploaded files - if required to be displayed or downloaded from the application - are served by either octet stream downloads, or from an unrelated domain, such as a cloud file storage bucket. Implement a suitable content security policy to reduce the risk from XSS vectors or other attacks from the uploaded file.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">646</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t692" class="run"><span class="n"><a href="#t692">692</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">71</span>&nbsp;</span><span class="r"></span></p>
    <p id="t693" class="run"><span class="n"><a href="#t693">693</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t694" class="run"><span class="n"><a href="#t694">694</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t695" class="run"><span class="n"><a href="#t695">695</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t696" class="pln"><span class="n"><a href="#t696">696</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t697" class="run"><span class="n"><a href="#t697">697</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.14.1'</span><span class="op">,</span> <span class="str">'Verify the segregation of components of differing trust levels through well-defined security controls, firewall rules, API gateways, reverse proxies, cloud-based security groups, or similar mechanisms.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">923</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t698" class="run"><span class="n"><a href="#t698">698</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">72</span>&nbsp;</span><span class="r"></span></p>
    <p id="t699" class="run"><span class="n"><a href="#t699">699</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t700" class="run"><span class="n"><a href="#t700">700</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t701" class="run"><span class="n"><a href="#t701">701</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t702" class="pln"><span class="n"><a href="#t702">702</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t703" class="run"><span class="n"><a href="#t703">703</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.14.2'</span><span class="op">,</span> <span class="str">'Verify that if deploying binaries to untrusted devices makes use of binary signatures, trusted connections, and verified endpoints.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">494</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t704" class="run"><span class="n"><a href="#t704">704</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">72</span>&nbsp;</span><span class="r"></span></p>
    <p id="t705" class="run"><span class="n"><a href="#t705">705</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t706" class="run"><span class="n"><a href="#t706">706</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t707" class="run"><span class="n"><a href="#t707">707</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t708" class="pln"><span class="n"><a href="#t708">708</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t709" class="run"><span class="n"><a href="#t709">709</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.14.3'</span><span class="op">,</span> <span class="str">'Verify that the build pipeline warns of out-of-date or insecure components and takes appropriate actions.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">1104</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t710" class="run"><span class="n"><a href="#t710">710</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">72</span>&nbsp;</span><span class="r"></span></p>
    <p id="t711" class="run"><span class="n"><a href="#t711">711</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">280</span>&nbsp;</span><span class="r"></span></p>
    <p id="t712" class="run"><span class="n"><a href="#t712">712</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t713" class="run"><span class="n"><a href="#t713">713</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t714" class="pln"><span class="n"><a href="#t714">714</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t715" class="run"><span class="n"><a href="#t715">715</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.14.4'</span><span class="op">,</span> <span class="str">'Verify that the build pipeline contains a build step to automatically build and verify the secure deployment of the application, particularly if the application infrastructure is software defined, such as cloud environment build scripts.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t716" class="run"><span class="n"><a href="#t716">716</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">72</span>&nbsp;</span><span class="r"></span></p>
    <p id="t717" class="run"><span class="n"><a href="#t717">717</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">281</span>&nbsp;</span><span class="r"></span></p>
    <p id="t718" class="run"><span class="n"><a href="#t718">718</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t719" class="run"><span class="n"><a href="#t719">719</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t720" class="pln"><span class="n"><a href="#t720">720</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t721" class="run"><span class="n"><a href="#t721">721</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.14.5'</span><span class="op">,</span> <span class="str">'Verify that application deployments adequately sandbox, containerize and/or isolate at the network level to delay and deter attackers from attacking other applications, especially when they are performing sensitive or dangerous actions such as deserialization.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">265</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t722" class="run"><span class="n"><a href="#t722">722</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">72</span>&nbsp;</span><span class="r"></span></p>
    <p id="t723" class="run"><span class="n"><a href="#t723">723</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t724" class="run"><span class="n"><a href="#t724">724</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t725" class="run"><span class="n"><a href="#t725">725</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t726" class="pln"><span class="n"><a href="#t726">726</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t727" class="run"><span class="n"><a href="#t727">727</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'1.14.6'</span><span class="op">,</span> <span class="str">'Verify the application does not use unsupported, insecure, or deprecated client-side technologies such as NSAPI plugins, Flash, Shockwave, ActiveX, Silverlight, NACL, or client-side Java applets.'</span><span class="op">,</span> <span class="num">1</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">477</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t728" class="run"><span class="n"><a href="#t728">728</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">72</span>&nbsp;</span><span class="r"></span></p>
    <p id="t729" class="run"><span class="n"><a href="#t729">729</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t730" class="run"><span class="n"><a href="#t730">730</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t731" class="run"><span class="n"><a href="#t731">731</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t732" class="pln"><span class="n"><a href="#t732">732</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t733" class="run"><span class="n"><a href="#t733">733</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.0'</span><span class="op">,</span> <span class="str">'Authentication Verification Requirements'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="key">None</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t734" class="run"><span class="n"><a href="#t734">734</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="key">None</span>&nbsp;</span><span class="r"></span></p>
    <p id="t735" class="run"><span class="n"><a href="#t735">735</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t736" class="run"><span class="n"><a href="#t736">736</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t737" class="run"><span class="n"><a href="#t737">737</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t738" class="pln"><span class="n"><a href="#t738">738</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t739" class="run"><span class="n"><a href="#t739">739</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.1.1'</span><span class="op">,</span> <span class="str">'Verify that user set passwords are at least 12 characters in length. (C6)'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">521</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t740" class="run"><span class="n"><a href="#t740">740</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">10</span>&nbsp;</span><span class="r"></span></p>
    <p id="t741" class="run"><span class="n"><a href="#t741">741</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">59</span>&nbsp;</span><span class="r"></span></p>
    <p id="t742" class="run"><span class="n"><a href="#t742">742</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t743" class="run"><span class="n"><a href="#t743">743</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t744" class="pln"><span class="n"><a href="#t744">744</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t745" class="run"><span class="n"><a href="#t745">745</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.1.2'</span><span class="op">,</span> <span class="str">'Verify that passwords 64 characters or longer are permitted.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">521</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t746" class="run"><span class="n"><a href="#t746">746</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">10</span>&nbsp;</span><span class="r"></span></p>
    <p id="t747" class="run"><span class="n"><a href="#t747">747</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">59</span>&nbsp;</span><span class="r"></span></p>
    <p id="t748" class="run"><span class="n"><a href="#t748">748</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t749" class="run"><span class="n"><a href="#t749">749</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t750" class="pln"><span class="n"><a href="#t750">750</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t751" class="run"><span class="n"><a href="#t751">751</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.1.3'</span><span class="op">,</span> <span class="str">'Verify that passwords can contain spaces and truncation is not performed. Consecutive multiple spaces MAY optionally be coalesced.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">521</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t752" class="run"><span class="n"><a href="#t752">752</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">10</span>&nbsp;</span><span class="r"></span></p>
    <p id="t753" class="run"><span class="n"><a href="#t753">753</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">59</span>&nbsp;</span><span class="r"></span></p>
    <p id="t754" class="run"><span class="n"><a href="#t754">754</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t755" class="run"><span class="n"><a href="#t755">755</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t756" class="pln"><span class="n"><a href="#t756">756</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t757" class="run"><span class="n"><a href="#t757">757</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.1.4'</span><span class="op">,</span> <span class="str">'Verify that Unicode characters are permitted in passwords. A single Unicode code point is considered a character, so 12 emoji or 64 kanji characters should be valid and permitted.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">521</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t758" class="run"><span class="n"><a href="#t758">758</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">10</span>&nbsp;</span><span class="r"></span></p>
    <p id="t759" class="run"><span class="n"><a href="#t759">759</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">59</span>&nbsp;</span><span class="r"></span></p>
    <p id="t760" class="run"><span class="n"><a href="#t760">760</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t761" class="run"><span class="n"><a href="#t761">761</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t762" class="pln"><span class="n"><a href="#t762">762</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t763" class="run"><span class="n"><a href="#t763">763</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.1.5'</span><span class="op">,</span> <span class="str">'Verify users can change their password.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">620</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t764" class="run"><span class="n"><a href="#t764">764</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">10</span>&nbsp;</span><span class="r"></span></p>
    <p id="t765" class="run"><span class="n"><a href="#t765">765</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">1343</span>&nbsp;</span><span class="r"></span></p>
    <p id="t766" class="run"><span class="n"><a href="#t766">766</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t767" class="run"><span class="n"><a href="#t767">767</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t768" class="pln"><span class="n"><a href="#t768">768</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t769" class="run"><span class="n"><a href="#t769">769</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.1.6'</span><span class="op">,</span> <span class="str">'Verify that password change functionality requires the user\s current and new password.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">620</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t770" class="run"><span class="n"><a href="#t770">770</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">10</span>&nbsp;</span><span class="r"></span></p>
    <p id="t771" class="run"><span class="n"><a href="#t771">771</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">32</span>&nbsp;</span><span class="r"></span></p>
    <p id="t772" class="run"><span class="n"><a href="#t772">772</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t773" class="run"><span class="n"><a href="#t773">773</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t774" class="pln"><span class="n"><a href="#t774">774</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t775" class="run"><span class="n"><a href="#t775">775</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.1.7'</span><span class="op">,</span> <span class="str">'Verify that passwords submitted during account registration, login, and password change are checked against a set of breached passwords either locally (such as the top 1,000 or 10,000 most common passwords which match the system\s password policy) or using an external API. If using an API a zero knowledge proof or other mechanism should be used to ensure that the plain text password is not sent or used in verifying the breach status of the password. If the password is breached, the application must require the user to set a new non-breached password.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">521</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t776" class="run"><span class="n"><a href="#t776">776</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">10</span>&nbsp;</span><span class="r"></span></p>
    <p id="t777" class="run"><span class="n"><a href="#t777">777</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">1345</span>&nbsp;</span><span class="r"></span></p>
    <p id="t778" class="run"><span class="n"><a href="#t778">778</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t779" class="run"><span class="n"><a href="#t779">779</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t780" class="pln"><span class="n"><a href="#t780">780</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t781" class="run"><span class="n"><a href="#t781">781</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.1.8'</span><span class="op">,</span> <span class="str">'Verify that a password strength meter is provided to help users set a stronger password.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">521</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t782" class="run"><span class="n"><a href="#t782">782</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">10</span>&nbsp;</span><span class="r"></span></p>
    <p id="t783" class="run"><span class="n"><a href="#t783">783</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">1344</span>&nbsp;</span><span class="r"></span></p>
    <p id="t784" class="run"><span class="n"><a href="#t784">784</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t785" class="run"><span class="n"><a href="#t785">785</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t786" class="pln"><span class="n"><a href="#t786">786</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t787" class="run"><span class="n"><a href="#t787">787</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.1.9'</span><span class="op">,</span> <span class="str">'Verify that there are no password composition rules limiting the type of characters permitted. There should be no requirement for upper or lower case or numbers or special characters.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">521</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t788" class="run"><span class="n"><a href="#t788">788</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">10</span>&nbsp;</span><span class="r"></span></p>
    <p id="t789" class="run"><span class="n"><a href="#t789">789</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">59</span>&nbsp;</span><span class="r"></span></p>
    <p id="t790" class="run"><span class="n"><a href="#t790">790</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t791" class="run"><span class="n"><a href="#t791">791</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t792" class="pln"><span class="n"><a href="#t792">792</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t793" class="run"><span class="n"><a href="#t793">793</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.1.10'</span><span class="op">,</span> <span class="str">'Verify that there are no periodic credential rotation or password history requirements.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">263</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t794" class="run"><span class="n"><a href="#t794">794</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">10</span>&nbsp;</span><span class="r"></span></p>
    <p id="t795" class="run"><span class="n"><a href="#t795">795</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">295</span>&nbsp;</span><span class="r"></span></p>
    <p id="t796" class="run"><span class="n"><a href="#t796">796</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t797" class="run"><span class="n"><a href="#t797">797</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t798" class="pln"><span class="n"><a href="#t798">798</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t799" class="run"><span class="n"><a href="#t799">799</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.1.11'</span><span class="op">,</span> <span class="str">'Verify that "paste" functionality, browser password helpers, and external password managers are permitted.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">521</span><span class="op">,</span><span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t800" class="run"><span class="n"><a href="#t800">800</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">10</span>&nbsp;</span><span class="r"></span></p>
    <p id="t801" class="run"><span class="n"><a href="#t801">801</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">59</span>&nbsp;</span><span class="r"></span></p>
    <p id="t802" class="run"><span class="n"><a href="#t802">802</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t803" class="run"><span class="n"><a href="#t803">803</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t804" class="pln"><span class="n"><a href="#t804">804</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t805" class="run"><span class="n"><a href="#t805">805</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.1.12'</span><span class="op">,</span> <span class="str">'Verify that the user can choose to either temporarily view the entire masked password, or temporarily view the last typed character of the password on platforms that do not have this as native functionality.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">521</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t806" class="run"><span class="n"><a href="#t806">806</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">10</span>&nbsp;</span><span class="r"></span></p>
    <p id="t807" class="run"><span class="n"><a href="#t807">807</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t808" class="run"><span class="n"><a href="#t808">808</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t809" class="run"><span class="n"><a href="#t809">809</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t810" class="pln"><span class="n"><a href="#t810">810</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t811" class="run"><span class="n"><a href="#t811">811</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.2.1'</span><span class="op">,</span> <span class="str">'Verify that anti-automation controls are effective at mitigating breached credential testing, brute force, and account lockout attacks. Such controls include blocking the most common breached passwords, soft lockouts, rate limiting, CAPTCHA, ever increasing delays between attempts, IP address restrictions, or risk-based restrictions such as location, first login on a device, recent attempts to unlock the account, or similar. Verify that no more than 100 failed attempts per hour is possible on a single account.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">307</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t812" class="run"><span class="n"><a href="#t812">812</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">11</span>&nbsp;</span><span class="r"></span></p>
    <p id="t813" class="run"><span class="n"><a href="#t813">813</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">29</span>&nbsp;</span><span class="r"></span></p>
    <p id="t814" class="run"><span class="n"><a href="#t814">814</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t815" class="run"><span class="n"><a href="#t815">815</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t816" class="pln"><span class="n"><a href="#t816">816</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t817" class="run"><span class="n"><a href="#t817">817</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.2.2'</span><span class="op">,</span> <span class="str">'Verify that the use of weak authenticators (such as SMS and email) is limited to secondary verification and transaction approval and not as a replacement for more secure authentication methods. Verify that stronger methods are offered before weak methods, users are aware of the risks, or that proper measures are in place to limit the risks of account compromise.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">304</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t818" class="run"><span class="n"><a href="#t818">818</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">11</span>&nbsp;</span><span class="r"></span></p>
    <p id="t819" class="run"><span class="n"><a href="#t819">819</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">115</span>&nbsp;</span><span class="r"></span></p>
    <p id="t820" class="run"><span class="n"><a href="#t820">820</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t821" class="run"><span class="n"><a href="#t821">821</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t822" class="pln"><span class="n"><a href="#t822">822</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t823" class="run"><span class="n"><a href="#t823">823</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.2.3'</span><span class="op">,</span> <span class="str">'Verify that secure notifications are sent to users after updates to authentication details, such as credential resets, email or address changes, logging in from unknown or risky locations. The use of push notifications - rather than SMS or email - is preferred, but in the absence of push notifications, SMS or email is acceptable as long as no sensitive information is disclosed in the notification.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">620</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t824" class="run"><span class="n"><a href="#t824">824</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">11</span>&nbsp;</span><span class="r"></span></p>
    <p id="t825" class="run"><span class="n"><a href="#t825">825</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">296</span>&nbsp;</span><span class="r"></span></p>
    <p id="t826" class="run"><span class="n"><a href="#t826">826</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t827" class="run"><span class="n"><a href="#t827">827</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t828" class="pln"><span class="n"><a href="#t828">828</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t829" class="run"><span class="n"><a href="#t829">829</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.2.4'</span><span class="op">,</span> <span class="str">'Verify impersonation resistance against phishing, such as the use of multi-factor authentication, cryptographic devices with intent (such as connected keys with a push to authenticate), or at higher AAL levels, client-side certificates.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">308</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t830" class="run"><span class="n"><a href="#t830">830</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">11</span>&nbsp;</span><span class="r"></span></p>
    <p id="t831" class="run"><span class="n"><a href="#t831">831</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">231</span>&nbsp;</span><span class="r"></span></p>
    <p id="t832" class="run"><span class="n"><a href="#t832">832</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t833" class="run"><span class="n"><a href="#t833">833</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t834" class="pln"><span class="n"><a href="#t834">834</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t835" class="run"><span class="n"><a href="#t835">835</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.2.5'</span><span class="op">,</span> <span class="str">'Verify that where a credential service provider (CSP) and the application verifying authentication are separated, mutually authenticated TLS is in place between the two endpoints.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">319</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t836" class="run"><span class="n"><a href="#t836">836</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">11</span>&nbsp;</span><span class="r"></span></p>
    <p id="t837" class="run"><span class="n"><a href="#t837">837</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t838" class="run"><span class="n"><a href="#t838">838</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t839" class="run"><span class="n"><a href="#t839">839</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t840" class="pln"><span class="n"><a href="#t840">840</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t841" class="run"><span class="n"><a href="#t841">841</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.2.6'</span><span class="op">,</span> <span class="str">'Verify replay resistance through the mandated use of OTP devices, cryptographic authenticators, or lookup codes.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">308</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t842" class="run"><span class="n"><a href="#t842">842</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">11</span>&nbsp;</span><span class="r"></span></p>
    <p id="t843" class="run"><span class="n"><a href="#t843">843</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">290</span>&nbsp;</span><span class="r"></span></p>
    <p id="t844" class="run"><span class="n"><a href="#t844">844</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t845" class="run"><span class="n"><a href="#t845">845</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t846" class="pln"><span class="n"><a href="#t846">846</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t847" class="run"><span class="n"><a href="#t847">847</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.2.7'</span><span class="op">,</span> <span class="str">'Verify intent to authenticate by requiring the entry of an OTP token or user-initiated action such as a button press on a FIDO hardware key.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">308</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t848" class="run"><span class="n"><a href="#t848">848</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">11</span>&nbsp;</span><span class="r"></span></p>
    <p id="t849" class="run"><span class="n"><a href="#t849">849</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t850" class="run"><span class="n"><a href="#t850">850</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t851" class="run"><span class="n"><a href="#t851">851</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t852" class="pln"><span class="n"><a href="#t852">852</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t853" class="run"><span class="n"><a href="#t853">853</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.3.1'</span><span class="op">,</span> <span class="str">'Verify system generated initial passwords or activation codes SHOULD be securely randomly generated, SHOULD be at least 6 characters long, and MAY contain letters and numbers, and expire after a short period of time. These initial secrets must not be permitted to become the long term password.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">330</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t854" class="run"><span class="n"><a href="#t854">854</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">12</span>&nbsp;</span><span class="r"></span></p>
    <p id="t855" class="run"><span class="n"><a href="#t855">855</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">214</span>&nbsp;</span><span class="r"></span></p>
    <p id="t856" class="run"><span class="n"><a href="#t856">856</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t857" class="run"><span class="n"><a href="#t857">857</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t858" class="pln"><span class="n"><a href="#t858">858</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t859" class="run"><span class="n"><a href="#t859">859</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.3.2'</span><span class="op">,</span> <span class="str">'Verify that enrollment and use of subscriber-provided authentication devices are supported, such as a U2F or FIDO tokens.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">308</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t860" class="run"><span class="n"><a href="#t860">860</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">12</span>&nbsp;</span><span class="r"></span></p>
    <p id="t861" class="run"><span class="n"><a href="#t861">861</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t862" class="run"><span class="n"><a href="#t862">862</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t863" class="run"><span class="n"><a href="#t863">863</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t864" class="pln"><span class="n"><a href="#t864">864</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t865" class="run"><span class="n"><a href="#t865">865</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.3.3'</span><span class="op">,</span> <span class="str">'Verify that renewal instructions are sent with sufficient time to renew time bound authenticators.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">287</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t866" class="run"><span class="n"><a href="#t866">866</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">12</span>&nbsp;</span><span class="r"></span></p>
    <p id="t867" class="run"><span class="n"><a href="#t867">867</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t868" class="run"><span class="n"><a href="#t868">868</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t869" class="run"><span class="n"><a href="#t869">869</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t870" class="pln"><span class="n"><a href="#t870">870</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t871" class="run"><span class="n"><a href="#t871">871</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.4.1'</span><span class="op">,</span> <span class="str">'Verify that passwords are stored in a form that is resistant to offline attacks. Passwords SHALL be salted and hashed using an approved one- way key derivation or password hashing function. Key derivation and password hashing functions take a password, a salt, and a cost factor as inputs when generating a password hash.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">916</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t872" class="run"><span class="n"><a href="#t872">872</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">13</span>&nbsp;</span><span class="r"></span></p>
    <p id="t873" class="run"><span class="n"><a href="#t873">873</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">51</span>&nbsp;</span><span class="r"></span></p>
    <p id="t874" class="run"><span class="n"><a href="#t874">874</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t875" class="run"><span class="n"><a href="#t875">875</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t876" class="pln"><span class="n"><a href="#t876">876</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t877" class="run"><span class="n"><a href="#t877">877</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.4.2'</span><span class="op">,</span> <span class="str">'Verify that the salt is at least 32 bits in length and be chosen arbitrarily to minimize salt value collisions among stored hashes. For each credential, a unique salt value and the resulting hash SHALL be stored.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">916</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t878" class="run"><span class="n"><a href="#t878">878</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">13</span>&nbsp;</span><span class="r"></span></p>
    <p id="t879" class="run"><span class="n"><a href="#t879">879</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t880" class="run"><span class="n"><a href="#t880">880</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t881" class="run"><span class="n"><a href="#t881">881</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t882" class="pln"><span class="n"><a href="#t882">882</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t883" class="run"><span class="n"><a href="#t883">883</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.4.3'</span><span class="op">,</span> <span class="str">'Verify that if PBKDF2 is used, the iteration count SHOULD be as large as verification server performance will allow, typically at least 100,000 iterations.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">916</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t884" class="run"><span class="n"><a href="#t884">884</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">13</span>&nbsp;</span><span class="r"></span></p>
    <p id="t885" class="run"><span class="n"><a href="#t885">885</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t886" class="run"><span class="n"><a href="#t886">886</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t887" class="run"><span class="n"><a href="#t887">887</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t888" class="pln"><span class="n"><a href="#t888">888</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t889" class="run"><span class="n"><a href="#t889">889</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.4.4'</span><span class="op">,</span> <span class="str">'Verify that if bcrypt is used, the work factor SHOULD be as large as verification server performance will allow, typically at least 13'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">916</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t890" class="run"><span class="n"><a href="#t890">890</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">13</span>&nbsp;</span><span class="r"></span></p>
    <p id="t891" class="run"><span class="n"><a href="#t891">891</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t892" class="run"><span class="n"><a href="#t892">892</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t893" class="run"><span class="n"><a href="#t893">893</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t894" class="pln"><span class="n"><a href="#t894">894</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t895" class="run"><span class="n"><a href="#t895">895</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.4.5'</span><span class="op">,</span> <span class="str">'Verify that an additional iteration of a key derivation function is performed, using a salt value that is secret and known only to the verifier. Generate the salt value using an approved random bit generator [SP 800-90Ar1] and provide at least the minimum security strength specified in the latest revision of SP 800-131A. The secret salt value SHALL be stored separately from the hashed passwords (e.g., in a specialized device like a hardware security module).'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">916</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t896" class="run"><span class="n"><a href="#t896">896</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">13</span>&nbsp;</span><span class="r"></span></p>
    <p id="t897" class="run"><span class="n"><a href="#t897">897</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t898" class="run"><span class="n"><a href="#t898">898</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t899" class="run"><span class="n"><a href="#t899">899</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t900" class="pln"><span class="n"><a href="#t900">900</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t901" class="run"><span class="n"><a href="#t901">901</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.5.1'</span><span class="op">,</span> <span class="str">'Verify that a system generated initial activation or recovery secret is not sent in clear text to the user.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">640</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t902" class="run"><span class="n"><a href="#t902">902</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">14</span>&nbsp;</span><span class="r"></span></p>
    <p id="t903" class="run"><span class="n"><a href="#t903">903</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">243</span>&nbsp;</span><span class="r"></span></p>
    <p id="t904" class="run"><span class="n"><a href="#t904">904</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t905" class="run"><span class="n"><a href="#t905">905</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t906" class="pln"><span class="n"><a href="#t906">906</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t907" class="run"><span class="n"><a href="#t907">907</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.5.2'</span><span class="op">,</span> <span class="str">'Verify password hints or knowledge-based authentication (so-called "secret questions") are not present.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">640</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t908" class="run"><span class="n"><a href="#t908">908</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">14</span>&nbsp;</span><span class="r"></span></p>
    <p id="t909" class="run"><span class="n"><a href="#t909">909</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">87</span>&nbsp;</span><span class="r"></span></p>
    <p id="t910" class="run"><span class="n"><a href="#t910">910</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t911" class="run"><span class="n"><a href="#t911">911</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t912" class="pln"><span class="n"><a href="#t912">912</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t913" class="run"><span class="n"><a href="#t913">913</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.5.3'</span><span class="op">,</span> <span class="str">'Verify password credential recovery does not reveal the current password in any way.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">640</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t914" class="run"><span class="n"><a href="#t914">914</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">14</span>&nbsp;</span><span class="r"></span></p>
    <p id="t915" class="run"><span class="n"><a href="#t915">915</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">243</span>&nbsp;</span><span class="r"></span></p>
    <p id="t916" class="run"><span class="n"><a href="#t916">916</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t917" class="run"><span class="n"><a href="#t917">917</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t918" class="pln"><span class="n"><a href="#t918">918</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t919" class="run"><span class="n"><a href="#t919">919</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.5.4'</span><span class="op">,</span> <span class="str">'Verify shared or default accounts are not present (e.g. "root", "admin", or "sa").'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">16</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t920" class="run"><span class="n"><a href="#t920">920</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">14</span>&nbsp;</span><span class="r"></span></p>
    <p id="t921" class="run"><span class="n"><a href="#t921">921</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">63</span>&nbsp;</span><span class="r"></span></p>
    <p id="t922" class="run"><span class="n"><a href="#t922">922</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t923" class="run"><span class="n"><a href="#t923">923</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t924" class="pln"><span class="n"><a href="#t924">924</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t925" class="run"><span class="n"><a href="#t925">925</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.5.5'</span><span class="op">,</span> <span class="str">'Verify that if an authentication factor is changed or replaced, that the user is notified of this event.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">304</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t926" class="run"><span class="n"><a href="#t926">926</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">14</span>&nbsp;</span><span class="r"></span></p>
    <p id="t927" class="run"><span class="n"><a href="#t927">927</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">296</span>&nbsp;</span><span class="r"></span></p>
    <p id="t928" class="run"><span class="n"><a href="#t928">928</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t929" class="run"><span class="n"><a href="#t929">929</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t930" class="pln"><span class="n"><a href="#t930">930</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t931" class="run"><span class="n"><a href="#t931">931</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.5.6'</span><span class="op">,</span> <span class="str">'Verify forgotten password, and other recovery paths use a secure recovery mechanism, such as TOTP or other soft token, mobile push, or another offline recovery mechanism. '</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">640</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t932" class="run"><span class="n"><a href="#t932">932</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">14</span>&nbsp;</span><span class="r"></span></p>
    <p id="t933" class="run"><span class="n"><a href="#t933">933</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">115</span>&nbsp;</span><span class="r"></span></p>
    <p id="t934" class="run"><span class="n"><a href="#t934">934</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t935" class="run"><span class="n"><a href="#t935">935</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t936" class="pln"><span class="n"><a href="#t936">936</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t937" class="run"><span class="n"><a href="#t937">937</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.5.7'</span><span class="op">,</span> <span class="str">'Verify that if OTP or multi-factor authentication factors are lost, that evidence of identity proofing is performed at the same level as during enrollment.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">308</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t938" class="run"><span class="n"><a href="#t938">938</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">14</span>&nbsp;</span><span class="r"></span></p>
    <p id="t939" class="run"><span class="n"><a href="#t939">939</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t940" class="run"><span class="n"><a href="#t940">940</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t941" class="run"><span class="n"><a href="#t941">941</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t942" class="pln"><span class="n"><a href="#t942">942</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t943" class="run"><span class="n"><a href="#t943">943</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.6.1'</span><span class="op">,</span> <span class="str">'Verify that lookup secrets can be used only once.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">308</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t944" class="run"><span class="n"><a href="#t944">944</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">15</span>&nbsp;</span><span class="r"></span></p>
    <p id="t945" class="run"><span class="n"><a href="#t945">945</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">290</span>&nbsp;</span><span class="r"></span></p>
    <p id="t946" class="run"><span class="n"><a href="#t946">946</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t947" class="run"><span class="n"><a href="#t947">947</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t948" class="pln"><span class="n"><a href="#t948">948</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t949" class="run"><span class="n"><a href="#t949">949</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.6.2'</span><span class="op">,</span> <span class="str">'Verify that lookup secrets have sufficient randomness (112 bits of entropy), or if less than 112 bits of entropy, salted with a unique and random 32-bit salt and hashed with an approved one-way hash'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">330</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t950" class="run"><span class="n"><a href="#t950">950</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">15</span>&nbsp;</span><span class="r"></span></p>
    <p id="t951" class="run"><span class="n"><a href="#t951">951</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">304</span>&nbsp;</span><span class="r"></span></p>
    <p id="t952" class="run"><span class="n"><a href="#t952">952</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t953" class="run"><span class="n"><a href="#t953">953</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t954" class="pln"><span class="n"><a href="#t954">954</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t955" class="run"><span class="n"><a href="#t955">955</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.6.3'</span><span class="op">,</span> <span class="str">'Verify that lookup secrets are resistant to offline attacks, such as predictable values.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">310</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t956" class="run"><span class="n"><a href="#t956">956</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">15</span>&nbsp;</span><span class="r"></span></p>
    <p id="t957" class="run"><span class="n"><a href="#t957">957</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t958" class="run"><span class="n"><a href="#t958">958</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t959" class="run"><span class="n"><a href="#t959">959</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t960" class="pln"><span class="n"><a href="#t960">960</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t961" class="run"><span class="n"><a href="#t961">961</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.7.1'</span><span class="op">,</span> <span class="str">'Verify that clear text out of band (NIST "restricted") authenticators, such as SMS or PSTN, are not offered by default, and stronger alternatives such as push notifications are offered first.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">287</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t962" class="run"><span class="n"><a href="#t962">962</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">16</span>&nbsp;</span><span class="r"></span></p>
    <p id="t963" class="run"><span class="n"><a href="#t963">963</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t964" class="run"><span class="n"><a href="#t964">964</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t965" class="run"><span class="n"><a href="#t965">965</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t966" class="pln"><span class="n"><a href="#t966">966</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t967" class="run"><span class="n"><a href="#t967">967</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.7.2'</span><span class="op">,</span> <span class="str">'Verify that the out of band verifier expires out of band authentication requests, codes, or tokens after 10 minutes.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">287</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t968" class="run"><span class="n"><a href="#t968">968</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">16</span>&nbsp;</span><span class="r"></span></p>
    <p id="t969" class="run"><span class="n"><a href="#t969">969</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t970" class="run"><span class="n"><a href="#t970">970</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t971" class="run"><span class="n"><a href="#t971">971</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t972" class="pln"><span class="n"><a href="#t972">972</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t973" class="run"><span class="n"><a href="#t973">973</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.7.3'</span><span class="op">,</span> <span class="str">'Verify that the out of band verifier authentication requests, codes, or tokens are only usable once, and only for the original authentication request.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">287</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t974" class="run"><span class="n"><a href="#t974">974</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">16</span>&nbsp;</span><span class="r"></span></p>
    <p id="t975" class="run"><span class="n"><a href="#t975">975</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t976" class="run"><span class="n"><a href="#t976">976</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t977" class="run"><span class="n"><a href="#t977">977</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t978" class="pln"><span class="n"><a href="#t978">978</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t979" class="run"><span class="n"><a href="#t979">979</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.7.4'</span><span class="op">,</span> <span class="str">'Verify that the out of band authenticator and verifier communicates over a secure independent channel.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">523</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t980" class="run"><span class="n"><a href="#t980">980</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">16</span>&nbsp;</span><span class="r"></span></p>
    <p id="t981" class="run"><span class="n"><a href="#t981">981</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t982" class="run"><span class="n"><a href="#t982">982</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t983" class="run"><span class="n"><a href="#t983">983</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t984" class="pln"><span class="n"><a href="#t984">984</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t985" class="run"><span class="n"><a href="#t985">985</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.7.5'</span><span class="op">,</span> <span class="str">'Verify that the out of band verifier retains only a hashed version of the authentication code.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">256</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t986" class="run"><span class="n"><a href="#t986">986</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">16</span>&nbsp;</span><span class="r"></span></p>
    <p id="t987" class="run"><span class="n"><a href="#t987">987</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t988" class="run"><span class="n"><a href="#t988">988</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t989" class="run"><span class="n"><a href="#t989">989</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t990" class="pln"><span class="n"><a href="#t990">990</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t991" class="run"><span class="n"><a href="#t991">991</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.7.6'</span><span class="op">,</span> <span class="str">'Verify that the initial authentication code is generated by a secure random number generator, containing at least 20 bits of entropy (typically a six digital random number is sufficient).'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">310</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t992" class="run"><span class="n"><a href="#t992">992</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">16</span>&nbsp;</span><span class="r"></span></p>
    <p id="t993" class="run"><span class="n"><a href="#t993">993</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t994" class="run"><span class="n"><a href="#t994">994</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t995" class="run"><span class="n"><a href="#t995">995</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t996" class="pln"><span class="n"><a href="#t996">996</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t997" class="run"><span class="n"><a href="#t997">997</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.8.1'</span><span class="op">,</span> <span class="str">'Verify that time-based OTPs have a defined lifetime before expiring.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">613</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t998" class="run"><span class="n"><a href="#t998">998</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">17</span>&nbsp;</span><span class="r"></span></p>
    <p id="t999" class="run"><span class="n"><a href="#t999">999</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1000" class="run"><span class="n"><a href="#t1000">1000</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1001" class="run"><span class="n"><a href="#t1001">1001</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1002" class="pln"><span class="n"><a href="#t1002">1002</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1003" class="run"><span class="n"><a href="#t1003">1003</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.8.2'</span><span class="op">,</span> <span class="str">'Verify that symmetric keys used to verify submitted OTPs are highly protected, such as by using a hardware security module or secure operating system based key storage.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">320</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1004" class="run"><span class="n"><a href="#t1004">1004</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">17</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1005" class="run"><span class="n"><a href="#t1005">1005</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1006" class="run"><span class="n"><a href="#t1006">1006</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1007" class="run"><span class="n"><a href="#t1007">1007</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1008" class="pln"><span class="n"><a href="#t1008">1008</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1009" class="run"><span class="n"><a href="#t1009">1009</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.8.3'</span><span class="op">,</span> <span class="str">'Verify that approved cryptographic algorithms are used in the generation, seeding, and verification.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">326</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1010" class="run"><span class="n"><a href="#t1010">1010</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">17</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1011" class="run"><span class="n"><a href="#t1011">1011</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1012" class="run"><span class="n"><a href="#t1012">1012</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1013" class="run"><span class="n"><a href="#t1013">1013</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1014" class="pln"><span class="n"><a href="#t1014">1014</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1015" class="run"><span class="n"><a href="#t1015">1015</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.8.4'</span><span class="op">,</span> <span class="str">'Verify that time-based OTP can be used only once within the validity period.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">287</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1016" class="run"><span class="n"><a href="#t1016">1016</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">17</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1017" class="run"><span class="n"><a href="#t1017">1017</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1018" class="run"><span class="n"><a href="#t1018">1018</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1019" class="run"><span class="n"><a href="#t1019">1019</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1020" class="pln"><span class="n"><a href="#t1020">1020</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1021" class="run"><span class="n"><a href="#t1021">1021</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.8.5'</span><span class="op">,</span> <span class="str">'Verify that if a time-based multi factor OTP token is re-used during the validity period, it is logged and rejected with secure notifications being sent to the holder of the device.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">287</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1022" class="run"><span class="n"><a href="#t1022">1022</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">17</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1023" class="run"><span class="n"><a href="#t1023">1023</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1024" class="run"><span class="n"><a href="#t1024">1024</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1025" class="run"><span class="n"><a href="#t1025">1025</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1026" class="pln"><span class="n"><a href="#t1026">1026</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1027" class="run"><span class="n"><a href="#t1027">1027</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.8.6'</span><span class="op">,</span> <span class="str">'Verify physical single factor OTP generator can be revoked in case of theft or other loss. Ensure that revocation is immediately effective across logged in sessions, regardless of location.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">613</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1028" class="run"><span class="n"><a href="#t1028">1028</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">17</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1029" class="run"><span class="n"><a href="#t1029">1029</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1030" class="run"><span class="n"><a href="#t1030">1030</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1031" class="run"><span class="n"><a href="#t1031">1031</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1032" class="pln"><span class="n"><a href="#t1032">1032</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1033" class="run"><span class="n"><a href="#t1033">1033</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.8.7'</span><span class="op">,</span> <span class="str">'Verify that biometric authenticators are limited to use only as o &#10003; 308 5.2.3 secondary factors in conjunction with either something you have and something you know.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">308</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1034" class="run"><span class="n"><a href="#t1034">1034</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">17</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1035" class="run"><span class="n"><a href="#t1035">1035</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1036" class="run"><span class="n"><a href="#t1036">1036</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1037" class="run"><span class="n"><a href="#t1037">1037</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1038" class="pln"><span class="n"><a href="#t1038">1038</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1039" class="run"><span class="n"><a href="#t1039">1039</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.9.1'</span><span class="op">,</span> <span class="str">'Verify that cryptographic keys used in verification are stored securely and protected against disclosure, such as using a TPM or HSM, or an OS service that can use this secure storage.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">320</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1040" class="run"><span class="n"><a href="#t1040">1040</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">18</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1041" class="run"><span class="n"><a href="#t1041">1041</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1042" class="run"><span class="n"><a href="#t1042">1042</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1043" class="run"><span class="n"><a href="#t1043">1043</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1044" class="pln"><span class="n"><a href="#t1044">1044</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1045" class="run"><span class="n"><a href="#t1045">1045</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.9.2'</span><span class="op">,</span> <span class="str">'Verify that the challenge nonce is at least 64 bits in length, and statistically unique or unique over the lifetime of the cryptographic device.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">330</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1046" class="run"><span class="n"><a href="#t1046">1046</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">18</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1047" class="run"><span class="n"><a href="#t1047">1047</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1048" class="run"><span class="n"><a href="#t1048">1048</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1049" class="run"><span class="n"><a href="#t1049">1049</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1050" class="pln"><span class="n"><a href="#t1050">1050</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1051" class="run"><span class="n"><a href="#t1051">1051</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.9.3'</span><span class="op">,</span> <span class="str">'Verify that approved cryptographic algorithms are used in the generation, seeding, and verification.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">327</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1052" class="run"><span class="n"><a href="#t1052">1052</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">18</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1053" class="run"><span class="n"><a href="#t1053">1053</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1054" class="run"><span class="n"><a href="#t1054">1054</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1055" class="run"><span class="n"><a href="#t1055">1055</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1056" class="pln"><span class="n"><a href="#t1056">1056</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1057" class="run"><span class="n"><a href="#t1057">1057</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.10.1'</span><span class="op">,</span> <span class="str">'Verify that integration secrets do not rely on unchanging passwords, such as API keys or shared privileged accounts.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">287</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1058" class="run"><span class="n"><a href="#t1058">1058</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">19</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1059" class="run"><span class="n"><a href="#t1059">1059</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1060" class="run"><span class="n"><a href="#t1060">1060</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1061" class="run"><span class="n"><a href="#t1061">1061</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1062" class="pln"><span class="n"><a href="#t1062">1062</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1063" class="run"><span class="n"><a href="#t1063">1063</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.10.2'</span><span class="op">,</span> <span class="str">'Verify that if passwords are required, the credentials are not a default account'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">255</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1064" class="run"><span class="n"><a href="#t1064">1064</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">19</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1065" class="run"><span class="n"><a href="#t1065">1065</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1066" class="run"><span class="n"><a href="#t1066">1066</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1067" class="run"><span class="n"><a href="#t1067">1067</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1068" class="pln"><span class="n"><a href="#t1068">1068</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1069" class="run"><span class="n"><a href="#t1069">1069</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.10.3'</span><span class="op">,</span> <span class="str">'Verify that passwords are stored with sufficient protection to prevent offline recovery attacks, including local system access.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">522</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1070" class="run"><span class="n"><a href="#t1070">1070</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">19</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1071" class="run"><span class="n"><a href="#t1071">1071</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1072" class="run"><span class="n"><a href="#t1072">1072</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1073" class="run"><span class="n"><a href="#t1073">1073</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1074" class="pln"><span class="n"><a href="#t1074">1074</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1075" class="run"><span class="n"><a href="#t1075">1075</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'2.10.4'</span><span class="op">,</span> <span class="str">'Verify passwords, integrations with databases and third-party systems, seeds and internal secrets, and API keys are managed securely and not included in the source code or stored within source code repositories. Such storage SHOULD resist offline attacks. The use of a secure software key store (L1), hardware trusted platform module (TPM), or a hardware security module (L3) is recommended for password storage.'</span><span class="op">,</span> <span class="num">2</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">798</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1076" class="run"><span class="n"><a href="#t1076">1076</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">19</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1077" class="run"><span class="n"><a href="#t1077">1077</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1078" class="run"><span class="n"><a href="#t1078">1078</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1079" class="run"><span class="n"><a href="#t1079">1079</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1080" class="pln"><span class="n"><a href="#t1080">1080</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1081" class="run"><span class="n"><a href="#t1081">1081</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'3.0'</span><span class="op">,</span> <span class="str">'Session Management Verification Requirements'</span><span class="op">,</span> <span class="num">3</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="key">None</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1082" class="run"><span class="n"><a href="#t1082">1082</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="key">None</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1083" class="run"><span class="n"><a href="#t1083">1083</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1084" class="run"><span class="n"><a href="#t1084">1084</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1085" class="run"><span class="n"><a href="#t1085">1085</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1086" class="pln"><span class="n"><a href="#t1086">1086</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1087" class="run"><span class="n"><a href="#t1087">1087</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'3.1.1'</span><span class="op">,</span> <span class="str">'Verify the application never reveals session tokens in URL parameters or error messages.'</span><span class="op">,</span> <span class="num">3</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">598</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1088" class="run"><span class="n"><a href="#t1088">1088</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">20</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1089" class="run"><span class="n"><a href="#t1089">1089</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">91</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1090" class="run"><span class="n"><a href="#t1090">1090</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1091" class="run"><span class="n"><a href="#t1091">1091</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1092" class="pln"><span class="n"><a href="#t1092">1092</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1093" class="run"><span class="n"><a href="#t1093">1093</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'3.2.1'</span><span class="op">,</span> <span class="str">'Verify the application generates a new session token on user authentication.'</span><span class="op">,</span> <span class="num">3</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">384</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1094" class="run"><span class="n"><a href="#t1094">1094</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">21</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1095" class="run"><span class="n"><a href="#t1095">1095</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">58</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1096" class="run"><span class="n"><a href="#t1096">1096</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1097" class="run"><span class="n"><a href="#t1097">1097</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1098" class="pln"><span class="n"><a href="#t1098">1098</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1099" class="run"><span class="n"><a href="#t1099">1099</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'3.2.2'</span><span class="op">,</span> <span class="str">'Verify that session tokens possess at least 64 bits of entropy.'</span><span class="op">,</span> <span class="num">3</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">331</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1100" class="run"><span class="n"><a href="#t1100">1100</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">21</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1101" class="run"><span class="n"><a href="#t1101">1101</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1102" class="run"><span class="n"><a href="#t1102">1102</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1103" class="run"><span class="n"><a href="#t1103">1103</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1104" class="pln"><span class="n"><a href="#t1104">1104</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1105" class="run"><span class="n"><a href="#t1105">1105</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'3.2.3'</span><span class="op">,</span> <span class="str">'Verify the application only stores session tokens in the browser using secure methods such as appropriately secured cookies (see section 3.4) or HTML 5 session storage.'</span><span class="op">,</span> <span class="num">3</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">539</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1106" class="run"><span class="n"><a href="#t1106">1106</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">21</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1107" class="run"><span class="n"><a href="#t1107">1107</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1108" class="run"><span class="n"><a href="#t1108">1108</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1109" class="run"><span class="n"><a href="#t1109">1109</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1110" class="pln"><span class="n"><a href="#t1110">1110</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1111" class="run"><span class="n"><a href="#t1111">1111</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'3.2.4'</span><span class="op">,</span> <span class="str">'Verify that session token are generated using approved cryptographic algorithms'</span><span class="op">,</span> <span class="num">3</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">331</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1112" class="run"><span class="n"><a href="#t1112">1112</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">21</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1113" class="run"><span class="n"><a href="#t1113">1113</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1114" class="run"><span class="n"><a href="#t1114">1114</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1115" class="run"><span class="n"><a href="#t1115">1115</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1116" class="pln"><span class="n"><a href="#t1116">1116</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1117" class="run"><span class="n"><a href="#t1117">1117</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'3.3.1'</span><span class="op">,</span> <span class="str">'Verify that logout and expiration invalidate the session token, such that the back button or a downstream relying party does not resume an authenticated session, including across relying parties.'</span><span class="op">,</span> <span class="num">3</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">613</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1118" class="run"><span class="n"><a href="#t1118">1118</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">22</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1119" class="run"><span class="n"><a href="#t1119">1119</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">57</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1120" class="run"><span class="n"><a href="#t1120">1120</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1121" class="run"><span class="n"><a href="#t1121">1121</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1122" class="pln"><span class="n"><a href="#t1122">1122</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1123" class="run"><span class="n"><a href="#t1123">1123</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'3.3.2'</span><span class="op">,</span> <span class="str">'If authenticators permit users to remain logged in, verify that re-authentication occurs periodically both when actively used or after an idle period.'</span><span class="op">,</span> <span class="num">3</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">613</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1124" class="run"><span class="n"><a href="#t1124">1124</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">22</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1125" class="run"><span class="n"><a href="#t1125">1125</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1126" class="run"><span class="n"><a href="#t1126">1126</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1127" class="run"><span class="n"><a href="#t1127">1127</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1128" class="pln"><span class="n"><a href="#t1128">1128</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1129" class="run"><span class="n"><a href="#t1129">1129</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'3.3.3'</span><span class="op">,</span> <span class="str">'Verify that the application terminates all other active sessions after a successful password change, and that this is effective across the application, federated login (if present); and any relying parties.'</span><span class="op">,</span> <span class="num">3</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">613</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1130" class="run"><span class="n"><a href="#t1130">1130</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">22</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1131" class="run"><span class="n"><a href="#t1131">1131</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">254</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1132" class="run"><span class="n"><a href="#t1132">1132</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1133" class="run"><span class="n"><a href="#t1133">1133</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1134" class="pln"><span class="n"><a href="#t1134">1134</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1135" class="run"><span class="n"><a href="#t1135">1135</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'3.3.4'</span><span class="op">,</span> <span class="str">'Verify that users are able to view and log out of any or all currently active sessions and devices.'</span><span class="op">,</span> <span class="num">3</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">613</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1136" class="run"><span class="n"><a href="#t1136">1136</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">22</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1137" class="run"><span class="n"><a href="#t1137">1137</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">188</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1138" class="run"><span class="n"><a href="#t1138">1138</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1139" class="run"><span class="n"><a href="#t1139">1139</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1140" class="pln"><span class="n"><a href="#t1140">1140</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1141" class="run"><span class="n"><a href="#t1141">1141</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'3.4.1'</span><span class="op">,</span> <span class="str">'Verify that cookie-based session tokens have the \Secure\ attribute set.'</span><span class="op">,</span> <span class="num">3</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">614</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1142" class="run"><span class="n"><a href="#t1142">1142</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">23</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1143" class="run"><span class="n"><a href="#t1143">1143</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">38</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1144" class="run"><span class="n"><a href="#t1144">1144</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1145" class="run"><span class="n"><a href="#t1145">1145</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1146" class="pln"><span class="n"><a href="#t1146">1146</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1147" class="run"><span class="n"><a href="#t1147">1147</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'3.4.2'</span><span class="op">,</span> <span class="str">'Verify that cookie-based session tokens have the \HttpOnly\ attribute set.'</span><span class="op">,</span> <span class="num">3</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">1004</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1148" class="run"><span class="n"><a href="#t1148">1148</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">23</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1149" class="run"><span class="n"><a href="#t1149">1149</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">39</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1150" class="run"><span class="n"><a href="#t1150">1150</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1151" class="run"><span class="n"><a href="#t1151">1151</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1152" class="pln"><span class="n"><a href="#t1152">1152</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1153" class="run"><span class="n"><a href="#t1153">1153</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'3.4.3'</span><span class="op">,</span> <span class="str">'Verify that cookie-based session tokens utilize the \SameSite\ attribute to limit exposure to cross-site request forgery attacks.'</span><span class="op">,</span> <span class="num">3</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">16</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1154" class="run"><span class="n"><a href="#t1154">1154</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">23</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1155" class="run"><span class="n"><a href="#t1155">1155</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">291</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1156" class="run"><span class="n"><a href="#t1156">1156</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1157" class="run"><span class="n"><a href="#t1157">1157</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1158" class="pln"><span class="n"><a href="#t1158">1158</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1159" class="run"><span class="n"><a href="#t1159">1159</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'3.4.4'</span><span class="op">,</span> <span class="str">'Verify that cookie-based session tokens use "__Host-" prefix (see references) to provide session cookie confidentiality.'</span><span class="op">,</span> <span class="num">3</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">16</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1160" class="run"><span class="n"><a href="#t1160">1160</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">23</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1161" class="run"><span class="n"><a href="#t1161">1161</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">292</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1162" class="run"><span class="n"><a href="#t1162">1162</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1163" class="run"><span class="n"><a href="#t1163">1163</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1164" class="pln"><span class="n"><a href="#t1164">1164</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1165" class="run"><span class="n"><a href="#t1165">1165</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'3.4.5'</span><span class="op">,</span> <span class="str">'Verify that if the application is published under a domain name with other applications that set or use session cookies that might override or disclose the session cookies, set the path attribute in cookie-based session tokens using the most precise path possible.'</span><span class="op">,</span> <span class="num">3</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">16</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1166" class="run"><span class="n"><a href="#t1166">1166</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">23</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1167" class="run"><span class="n"><a href="#t1167">1167</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">158</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1168" class="run"><span class="n"><a href="#t1168">1168</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1169" class="run"><span class="n"><a href="#t1169">1169</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1170" class="pln"><span class="n"><a href="#t1170">1170</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1171" class="run"><span class="n"><a href="#t1171">1171</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'3.5.1'</span><span class="op">,</span> <span class="str">'Verify the application does not treat OAuth and refresh tokens &#8212; on their own &#8212; as the presence of the subscriber and allows users to terminate trust relationships with linked applications.'</span><span class="op">,</span> <span class="num">3</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">290</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1172" class="run"><span class="n"><a href="#t1172">1172</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">24</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1173" class="run"><span class="n"><a href="#t1173">1173</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1174" class="run"><span class="n"><a href="#t1174">1174</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1175" class="run"><span class="n"><a href="#t1175">1175</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1176" class="pln"><span class="n"><a href="#t1176">1176</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1177" class="run"><span class="n"><a href="#t1177">1177</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'3.5.2'</span><span class="op">,</span> <span class="str">'Verify the application uses session tokens rather than static API secrets and keys, except with legacy implementations.'</span><span class="op">,</span> <span class="num">3</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">798</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1178" class="run"><span class="n"><a href="#t1178">1178</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">24</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1179" class="run"><span class="n"><a href="#t1179">1179</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1180" class="run"><span class="n"><a href="#t1180">1180</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1181" class="run"><span class="n"><a href="#t1181">1181</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1182" class="pln"><span class="n"><a href="#t1182">1182</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1183" class="run"><span class="n"><a href="#t1183">1183</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'3.5.3'</span><span class="op">,</span> <span class="str">'Verify that stateless session tokens use digital signatures, encryption, and other countermeasures to protect against tampering, enveloping, replay, null cipher, and key substitution attacks.'</span><span class="op">,</span> <span class="num">3</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">345</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1184" class="run"><span class="n"><a href="#t1184">1184</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">24</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1185" class="run"><span class="n"><a href="#t1185">1185</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">297</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1186" class="run"><span class="n"><a href="#t1186">1186</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1187" class="run"><span class="n"><a href="#t1187">1187</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1188" class="pln"><span class="n"><a href="#t1188">1188</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1189" class="pln"><span class="n"><a href="#t1189">1189</a></span><span class="t">        <span class="str">'''</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1190" class="pln"><span class="n"><a href="#t1190">1190</a></span><span class="t"><span class="str">        c = ChecklistKB('3.6.1', 'Verify that relying parties specify the maximum authentication time to CSPs and that CSPs re-authenticate the subscriber if they haven't used a session within that period.', 3, False, 16, 3)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1191" class="pln"><span class="n"><a href="#t1191">1191</a></span><span class="t"><span class="str">        c.question_id = 23</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1192" class="pln"><span class="n"><a href="#t1192">1192</a></span><span class="t"><span class="str">        c.kb_id = 158</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1193" class="pln"><span class="n"><a href="#t1193">1193</a></span><span class="t"><span class="str">        db.session.add(c)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1194" class="pln"><span class="n"><a href="#t1194">1194</a></span><span class="t"><span class="str">        db.session.commit()</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1195" class="pln"><span class="n"><a href="#t1195">1195</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1196" class="pln"><span class="n"><a href="#t1196">1196</a></span><span class="t"><span class="str">        c = ChecklistKB('3.6.2', 'Verify that CSPs inform relying parties of the last authentication event, to allow RPs to determine if they need to re-authenticate the user.', 1, False, 16, 3)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1197" class="pln"><span class="n"><a href="#t1197">1197</a></span><span class="t"><span class="str">        c.question_id = 23</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1198" class="pln"><span class="n"><a href="#t1198">1198</a></span><span class="t"><span class="str">        c.kb_id = 158</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1199" class="pln"><span class="n"><a href="#t1199">1199</a></span><span class="t"><span class="str">        db.session.add(c)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1200" class="pln"><span class="n"><a href="#t1200">1200</a></span><span class="t"><span class="str">        db.session.commit()</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1201" class="pln"><span class="n"><a href="#t1201">1201</a></span><span class="t"><span class="str">        '''</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1202" class="pln"><span class="n"><a href="#t1202">1202</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1203" class="run"><span class="n"><a href="#t1203">1203</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'3.7.1'</span><span class="op">,</span> <span class="str">'Verify the application ensures a valid login session or requires re-authentication or secondary verification before allowing any sensitive transactions or account modifications.'</span><span class="op">,</span> <span class="num">3</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">778</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1204" class="run"><span class="n"><a href="#t1204">1204</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">25</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1205" class="run"><span class="n"><a href="#t1205">1205</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">233</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1206" class="run"><span class="n"><a href="#t1206">1206</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1207" class="run"><span class="n"><a href="#t1207">1207</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1208" class="pln"><span class="n"><a href="#t1208">1208</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1209" class="run"><span class="n"><a href="#t1209">1209</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'4.0'</span><span class="op">,</span> <span class="str">'Access Control Verification Requirements'</span><span class="op">,</span> <span class="num">4</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="key">None</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1210" class="run"><span class="n"><a href="#t1210">1210</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="key">None</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1211" class="run"><span class="n"><a href="#t1211">1211</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1212" class="run"><span class="n"><a href="#t1212">1212</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1213" class="run"><span class="n"><a href="#t1213">1213</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1214" class="pln"><span class="n"><a href="#t1214">1214</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1215" class="run"><span class="n"><a href="#t1215">1215</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'4.1.1'</span><span class="op">,</span> <span class="str">'Verify that the application enforces access control rules on a trusted service layer, especially if client-side access control is present and could be bypassed.'</span><span class="op">,</span> <span class="num">4</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">602</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1216" class="run"><span class="n"><a href="#t1216">1216</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">26</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1217" class="run"><span class="n"><a href="#t1217">1217</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1218" class="run"><span class="n"><a href="#t1218">1218</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1219" class="run"><span class="n"><a href="#t1219">1219</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1220" class="pln"><span class="n"><a href="#t1220">1220</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1221" class="run"><span class="n"><a href="#t1221">1221</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'4.1.2'</span><span class="op">,</span> <span class="str">'Verify that all user and data attributes and policy information used by access controls cannot be manipulated by end users unless specifically authorized.'</span><span class="op">,</span> <span class="num">4</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">639</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1222" class="run"><span class="n"><a href="#t1222">1222</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">26</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1223" class="run"><span class="n"><a href="#t1223">1223</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1224" class="run"><span class="n"><a href="#t1224">1224</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1225" class="run"><span class="n"><a href="#t1225">1225</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1226" class="pln"><span class="n"><a href="#t1226">1226</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1227" class="run"><span class="n"><a href="#t1227">1227</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'4.1.3'</span><span class="op">,</span> <span class="str">'Verify that the principle of least privilege exists - users should only be able to access functions, data files, URLs, controllers, services, and other resources, for which they possess specific authorization. This implies protection against spoofing and elevation of privilege.'</span><span class="op">,</span> <span class="num">4</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">285</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1228" class="run"><span class="n"><a href="#t1228">1228</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">26</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1229" class="run"><span class="n"><a href="#t1229">1229</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1230" class="run"><span class="n"><a href="#t1230">1230</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1231" class="run"><span class="n"><a href="#t1231">1231</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1232" class="pln"><span class="n"><a href="#t1232">1232</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1233" class="run"><span class="n"><a href="#t1233">1233</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'4.1.4'</span><span class="op">,</span> <span class="str">'Verify that the principle of deny by default exists whereby new users/roles start with minimal or no permissions and users/roles do not receive access to new features until access is explicitly assigned. '</span><span class="op">,</span> <span class="num">4</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">276</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1234" class="run"><span class="n"><a href="#t1234">1234</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">26</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1235" class="run"><span class="n"><a href="#t1235">1235</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1236" class="run"><span class="n"><a href="#t1236">1236</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1237" class="run"><span class="n"><a href="#t1237">1237</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1238" class="pln"><span class="n"><a href="#t1238">1238</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1239" class="run"><span class="n"><a href="#t1239">1239</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'4.1.5'</span><span class="op">,</span> <span class="str">'Verify that access controls fail securely including when an exception occurs.'</span><span class="op">,</span> <span class="num">4</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">285</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1240" class="run"><span class="n"><a href="#t1240">1240</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">26</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1241" class="run"><span class="n"><a href="#t1241">1241</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">114</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1242" class="run"><span class="n"><a href="#t1242">1242</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1243" class="run"><span class="n"><a href="#t1243">1243</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1244" class="pln"><span class="n"><a href="#t1244">1244</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1245" class="run"><span class="n"><a href="#t1245">1245</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'4.2.1'</span><span class="op">,</span> <span class="str">'Verify that sensitive data and APIs are protected against direct object attacks targeting creation, reading, updating and deletion of records, such as creating or updating someone else\s record, viewing everyone\s records, or deleting all records.'</span><span class="op">,</span> <span class="num">4</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">639</span><span class="op">,</span><span class="num">1</span> <span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1246" class="run"><span class="n"><a href="#t1246">1246</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">27</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1247" class="run"><span class="n"><a href="#t1247">1247</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">268</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1248" class="run"><span class="n"><a href="#t1248">1248</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1249" class="run"><span class="n"><a href="#t1249">1249</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1250" class="pln"><span class="n"><a href="#t1250">1250</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1251" class="run"><span class="n"><a href="#t1251">1251</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'4.2.2'</span><span class="op">,</span> <span class="str">'Verify that the application or framework enforces a strong anti-CSRF mechanism to protect authenticated functionality, and effective anti-automation or anti-CSRF protects unauthenticated functionality.'</span><span class="op">,</span> <span class="num">4</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">352</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1252" class="run"><span class="n"><a href="#t1252">1252</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">27</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1253" class="run"><span class="n"><a href="#t1253">1253</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">5</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1254" class="run"><span class="n"><a href="#t1254">1254</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1255" class="run"><span class="n"><a href="#t1255">1255</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1256" class="pln"><span class="n"><a href="#t1256">1256</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1257" class="run"><span class="n"><a href="#t1257">1257</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'4.3.1'</span><span class="op">,</span> <span class="str">'Verify administrative interfaces use appropriate multi-factor authentication to prevent unauthorized use.'</span><span class="op">,</span> <span class="num">4</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">419</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1258" class="run"><span class="n"><a href="#t1258">1258</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">28</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1259" class="run"><span class="n"><a href="#t1259">1259</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">231</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1260" class="run"><span class="n"><a href="#t1260">1260</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1261" class="run"><span class="n"><a href="#t1261">1261</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1262" class="pln"><span class="n"><a href="#t1262">1262</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1263" class="run"><span class="n"><a href="#t1263">1263</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'4.3.2'</span><span class="op">,</span> <span class="str">'Verify that directory browsing is disabled unless deliberately desired. Additionally, applications should not allow discovery or disclosure of file or directory metadata, such as Thumbs.db, .DS_Store, .git or .svn folders.'</span><span class="op">,</span> <span class="num">4</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">548</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1264" class="run"><span class="n"><a href="#t1264">1264</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">28</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1265" class="run"><span class="n"><a href="#t1265">1265</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">61</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1266" class="run"><span class="n"><a href="#t1266">1266</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1267" class="run"><span class="n"><a href="#t1267">1267</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1268" class="pln"><span class="n"><a href="#t1268">1268</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1269" class="run"><span class="n"><a href="#t1269">1269</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'4.3.3'</span><span class="op">,</span> <span class="str">'Verify the application has additional authorization (such as step up or adaptive authentication) for lower value systems, and / or segregation of duties for high value applications to enforce anti-fraud controls as per the risk of application and past fraud.'</span><span class="op">,</span> <span class="num">4</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">732</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1270" class="run"><span class="n"><a href="#t1270">1270</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">28</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1271" class="run"><span class="n"><a href="#t1271">1271</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">111</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1272" class="run"><span class="n"><a href="#t1272">1272</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1273" class="run"><span class="n"><a href="#t1273">1273</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1274" class="pln"><span class="n"><a href="#t1274">1274</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1275" class="run"><span class="n"><a href="#t1275">1275</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.0'</span><span class="op">,</span> <span class="str">'Validation, Sanitization and Encoding Verification Requirements'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="key">None</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1276" class="run"><span class="n"><a href="#t1276">1276</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="key">None</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1277" class="run"><span class="n"><a href="#t1277">1277</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1278" class="run"><span class="n"><a href="#t1278">1278</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1279" class="run"><span class="n"><a href="#t1279">1279</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1280" class="pln"><span class="n"><a href="#t1280">1280</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1281" class="run"><span class="n"><a href="#t1281">1281</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.1.1'</span><span class="op">,</span> <span class="str">'Verify that the application has defenses against HTTP parameter pollution attacks, particularly if the application framework makes no distinction about the source of request parameters (GET, POST, cookies, headers, or environment variables).'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">235</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1282" class="run"><span class="n"><a href="#t1282">1282</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">29</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1283" class="run"><span class="n"><a href="#t1283">1283</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">71</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1284" class="run"><span class="n"><a href="#t1284">1284</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1285" class="run"><span class="n"><a href="#t1285">1285</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1286" class="pln"><span class="n"><a href="#t1286">1286</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1287" class="run"><span class="n"><a href="#t1287">1287</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.1.2'</span><span class="op">,</span> <span class="str">'Verify that frameworks protect against mass parameter assignment attacks, or that the application has countermeasures to protect against unsafe parameter assignment, such as marking fields private or similar.'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">915</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1288" class="run"><span class="n"><a href="#t1288">1288</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">29</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1289" class="run"><span class="n"><a href="#t1289">1289</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">147</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1290" class="run"><span class="n"><a href="#t1290">1290</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1291" class="run"><span class="n"><a href="#t1291">1291</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1292" class="pln"><span class="n"><a href="#t1292">1292</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1293" class="run"><span class="n"><a href="#t1293">1293</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.1.3'</span><span class="op">,</span> <span class="str">'Verify that all input (HTML form fields, REST requests, URL parameters, HTTP headers, cookies, batch files, RSS feeds, etc) is validated using positive validation (whitelisting)'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">20</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1294" class="run"><span class="n"><a href="#t1294">1294</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">29</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1295" class="run"><span class="n"><a href="#t1295">1295</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">167</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1296" class="run"><span class="n"><a href="#t1296">1296</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1297" class="run"><span class="n"><a href="#t1297">1297</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1298" class="pln"><span class="n"><a href="#t1298">1298</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1299" class="run"><span class="n"><a href="#t1299">1299</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.1.4'</span><span class="op">,</span> <span class="str">'Verify that structured data is strongly typed and validated against a defined schema including allowed characters, length and pattern (e.g. credit card numbers or telephone, or validating that two related fields are reasonable, such as checking that suburb and zip/postcode match).'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">20</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1300" class="run"><span class="n"><a href="#t1300">1300</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">29</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1301" class="run"><span class="n"><a href="#t1301">1301</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">234</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1302" class="run"><span class="n"><a href="#t1302">1302</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1303" class="run"><span class="n"><a href="#t1303">1303</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1304" class="pln"><span class="n"><a href="#t1304">1304</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1305" class="run"><span class="n"><a href="#t1305">1305</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.1.5'</span><span class="op">,</span> <span class="str">'Verify that URL redirects and forwards only allow whitelisted destinations, or show a warning when redirecting to potentially untrusted content.'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">601</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1306" class="run"><span class="n"><a href="#t1306">1306</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">29</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1307" class="run"><span class="n"><a href="#t1307">1307</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">67</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1308" class="run"><span class="n"><a href="#t1308">1308</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1309" class="run"><span class="n"><a href="#t1309">1309</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1310" class="pln"><span class="n"><a href="#t1310">1310</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1311" class="run"><span class="n"><a href="#t1311">1311</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.2.1'</span><span class="op">,</span> <span class="str">'Verify that all untrusted HTML input from WYSIWYG editors or similar is properly sanitized with an HTML sanitizer library or framework feature.'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">116</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1312" class="run"><span class="n"><a href="#t1312">1312</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">30</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1313" class="run"><span class="n"><a href="#t1313">1313</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">180</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1314" class="run"><span class="n"><a href="#t1314">1314</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1315" class="run"><span class="n"><a href="#t1315">1315</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1316" class="pln"><span class="n"><a href="#t1316">1316</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1317" class="run"><span class="n"><a href="#t1317">1317</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.2.2'</span><span class="op">,</span> <span class="str">'Verify that unstructured data is sanitized to enforce safety measures such as allowed characters and length.'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">138</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1318" class="run"><span class="n"><a href="#t1318">1318</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">30</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1319" class="run"><span class="n"><a href="#t1319">1319</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">269</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1320" class="run"><span class="n"><a href="#t1320">1320</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1321" class="run"><span class="n"><a href="#t1321">1321</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1322" class="pln"><span class="n"><a href="#t1322">1322</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1323" class="run"><span class="n"><a href="#t1323">1323</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.2.3'</span><span class="op">,</span> <span class="str">'Verify that the application sanitizes user input before passing to mail systems to protect against SMTP or IMAP injection.'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">147</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1324" class="run"><span class="n"><a href="#t1324">1324</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">30</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1325" class="run"><span class="n"><a href="#t1325">1325</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">270</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1326" class="run"><span class="n"><a href="#t1326">1326</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1327" class="run"><span class="n"><a href="#t1327">1327</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1328" class="pln"><span class="n"><a href="#t1328">1328</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1329" class="run"><span class="n"><a href="#t1329">1329</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.2.4'</span><span class="op">,</span> <span class="str">'Verify that the application avoids the use of eval() or other dynamic code execution features. Where there is no alternative, any user input being included must be sanitized or sandboxed before being executed.'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">95</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1330" class="run"><span class="n"><a href="#t1330">1330</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">30</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1331" class="run"><span class="n"><a href="#t1331">1331</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">4</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1332" class="run"><span class="n"><a href="#t1332">1332</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1333" class="run"><span class="n"><a href="#t1333">1333</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1334" class="pln"><span class="n"><a href="#t1334">1334</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1335" class="run"><span class="n"><a href="#t1335">1335</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.2.5'</span><span class="op">,</span> <span class="str">'Verify that the application protects against template injection attacks by ensuring that any user input being included is sanitized or sandboxed.'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">94</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1336" class="run"><span class="n"><a href="#t1336">1336</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">30</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1337" class="run"><span class="n"><a href="#t1337">1337</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">267</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1338" class="run"><span class="n"><a href="#t1338">1338</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1339" class="run"><span class="n"><a href="#t1339">1339</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1340" class="pln"><span class="n"><a href="#t1340">1340</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1341" class="run"><span class="n"><a href="#t1341">1341</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.2.6'</span><span class="op">,</span> <span class="str">'Verify that the application protects against SSRF attacks, by validating or sanitizing untrusted data or HTTP file metadata, such as filenames and URL input fields, use whitelisting of protocols, domains, paths and ports.'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">918</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1342" class="run"><span class="n"><a href="#t1342">1342</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">30</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1343" class="run"><span class="n"><a href="#t1343">1343</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">262</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1344" class="run"><span class="n"><a href="#t1344">1344</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1345" class="run"><span class="n"><a href="#t1345">1345</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1346" class="pln"><span class="n"><a href="#t1346">1346</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1347" class="run"><span class="n"><a href="#t1347">1347</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.2.7'</span><span class="op">,</span> <span class="str">'Verify that the application sanitizes, disables, or sandboxes user-supplied SVG scriptable content, especially as they relate to XSS resulting from inline scripts, and foreignObject.'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">159</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1348" class="run"><span class="n"><a href="#t1348">1348</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">30</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1349" class="run"><span class="n"><a href="#t1349">1349</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1350" class="run"><span class="n"><a href="#t1350">1350</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1351" class="run"><span class="n"><a href="#t1351">1351</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1352" class="pln"><span class="n"><a href="#t1352">1352</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1353" class="run"><span class="n"><a href="#t1353">1353</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.2.8'</span><span class="op">,</span> <span class="str">'Verify that the application sanitizes, disables, or sandboxes user-supplied scriptable or expression template language content, such as Markdown, CSS or XSL stylesheets, BBCode, or similar.'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">94</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1354" class="run"><span class="n"><a href="#t1354">1354</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">30</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1355" class="run"><span class="n"><a href="#t1355">1355</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">289</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1356" class="run"><span class="n"><a href="#t1356">1356</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1357" class="run"><span class="n"><a href="#t1357">1357</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1358" class="pln"><span class="n"><a href="#t1358">1358</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1359" class="run"><span class="n"><a href="#t1359">1359</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.3.1'</span><span class="op">,</span> <span class="str">'Verify that output encoding is relevant for the interpreter and context required. For example, use encoders specifically for HTML values, HTML attributes, JavaScript, URL Parameters, HTTP headers, SMTP, and others as the context requires, especially from untrusted inputs (e.g. names with Unicode or apostrophes, such as bla or OHara).'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">116</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1360" class="run"><span class="n"><a href="#t1360">1360</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">31</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1361" class="run"><span class="n"><a href="#t1361">1361</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">269</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1362" class="run"><span class="n"><a href="#t1362">1362</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1363" class="run"><span class="n"><a href="#t1363">1363</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1364" class="pln"><span class="n"><a href="#t1364">1364</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1365" class="run"><span class="n"><a href="#t1365">1365</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.3.2'</span><span class="op">,</span> <span class="str">'Verify that output encoding preserves the user\s chosen character set and locale, such that any Unicode character point is valid and safely handled.'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">176</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1366" class="run"><span class="n"><a href="#t1366">1366</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">31</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1367" class="run"><span class="n"><a href="#t1367">1367</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1368" class="run"><span class="n"><a href="#t1368">1368</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1369" class="run"><span class="n"><a href="#t1369">1369</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1370" class="pln"><span class="n"><a href="#t1370">1370</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1371" class="run"><span class="n"><a href="#t1371">1371</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.3.3'</span><span class="op">,</span> <span class="str">'Verify that context-aware, preferably automated - or at worst, manual - output escaping protects against reflected, stored, and DOM based XSS.'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">79</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1372" class="run"><span class="n"><a href="#t1372">1372</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">31</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1373" class="run"><span class="n"><a href="#t1373">1373</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">3</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1374" class="run"><span class="n"><a href="#t1374">1374</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1375" class="run"><span class="n"><a href="#t1375">1375</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1376" class="pln"><span class="n"><a href="#t1376">1376</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1377" class="run"><span class="n"><a href="#t1377">1377</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.3.4'</span><span class="op">,</span> <span class="str">'Verify that data selection or database queries (e.g. SQL, HQL, ORM, NoSQL) use parameterized queries, ORMs, entity frameworks, or are otherwise protected from database injection attacks.'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">89</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1378" class="run"><span class="n"><a href="#t1378">1378</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">33</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1379" class="run"><span class="n"><a href="#t1379">1379</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">46</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1380" class="run"><span class="n"><a href="#t1380">1380</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1381" class="run"><span class="n"><a href="#t1381">1381</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1382" class="pln"><span class="n"><a href="#t1382">1382</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1383" class="run"><span class="n"><a href="#t1383">1383</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.3.5'</span><span class="op">,</span> <span class="str">'Verify that where parameterized or safer mechanisms are not present, context-specific output encoding is used to protect against injection attacks, such as the use of SQL escaping to protect against SQL injection.'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">89</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1384" class="run"><span class="n"><a href="#t1384">1384</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">33</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1385" class="run"><span class="n"><a href="#t1385">1385</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">269</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1386" class="run"><span class="n"><a href="#t1386">1386</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1387" class="run"><span class="n"><a href="#t1387">1387</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1388" class="pln"><span class="n"><a href="#t1388">1388</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1389" class="run"><span class="n"><a href="#t1389">1389</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.3.6'</span><span class="op">,</span> <span class="str">'Verify that the application projects against JavaScript or JSON injection attacks, including for eval attacks, remote JavaScript includes, CSP bypasses, DOM XSS, and JavaScript expression evaluation.'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">830</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1390" class="run"><span class="n"><a href="#t1390">1390</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">31</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1391" class="run"><span class="n"><a href="#t1391">1391</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">181</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1392" class="run"><span class="n"><a href="#t1392">1392</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1393" class="run"><span class="n"><a href="#t1393">1393</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1394" class="pln"><span class="n"><a href="#t1394">1394</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1395" class="run"><span class="n"><a href="#t1395">1395</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.3.7'</span><span class="op">,</span> <span class="str">'Verify that the application protects against LDAP Injection vulnerabilities, or that specific security controls to prevent LDAP Injection have been implemented.'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">943</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1396" class="run"><span class="n"><a href="#t1396">1396</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">34</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1397" class="run"><span class="n"><a href="#t1397">1397</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">11</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1398" class="run"><span class="n"><a href="#t1398">1398</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1399" class="run"><span class="n"><a href="#t1399">1399</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1400" class="pln"><span class="n"><a href="#t1400">1400</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1401" class="run"><span class="n"><a href="#t1401">1401</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.3.8'</span><span class="op">,</span> <span class="str">'Verify that the application protects against OS command injection and that operating system calls use parameterized OS queries or use contextual command line output encoding.'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">78</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1402" class="run"><span class="n"><a href="#t1402">1402</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">35</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1403" class="run"><span class="n"><a href="#t1403">1403</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">4</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1404" class="run"><span class="n"><a href="#t1404">1404</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1405" class="run"><span class="n"><a href="#t1405">1405</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1406" class="pln"><span class="n"><a href="#t1406">1406</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1407" class="run"><span class="n"><a href="#t1407">1407</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.3.9'</span><span class="op">,</span> <span class="str">'Verify that the application protects against Local File Inclusion (LFI) or Remote File Inclusion (RFI) attacks.'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">829</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1408" class="run"><span class="n"><a href="#t1408">1408</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">32</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1409" class="run"><span class="n"><a href="#t1409">1409</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">2</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1410" class="run"><span class="n"><a href="#t1410">1410</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1411" class="run"><span class="n"><a href="#t1411">1411</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1412" class="pln"><span class="n"><a href="#t1412">1412</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1413" class="run"><span class="n"><a href="#t1413">1413</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.3.10'</span><span class="op">,</span> <span class="str">'Verify that the application protects against XPath injection or XML injection attacks.'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">643</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1414" class="run"><span class="n"><a href="#t1414">1414</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">36</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1415" class="run"><span class="n"><a href="#t1415">1415</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">183</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1416" class="run"><span class="n"><a href="#t1416">1416</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1417" class="run"><span class="n"><a href="#t1417">1417</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1418" class="pln"><span class="n"><a href="#t1418">1418</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1419" class="pln"><span class="n"><a href="#t1419">1419</a></span><span class="t">        <span class="str">'''</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1420" class="pln"><span class="n"><a href="#t1420">1420</a></span><span class="t"><span class="str">        c = ChecklistKB('5.4.1', 'VVerify that the application uses memory-safe string, safer memory copy and pointer arithmetic to detect or prevent stack, buffer, or heap overflows.', 1, False, 643, 2)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1421" class="pln"><span class="n"><a href="#t1421">1421</a></span><span class="t"><span class="str">        c.question_id = 36</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1422" class="pln"><span class="n"><a href="#t1422">1422</a></span><span class="t"><span class="str">        c.kb_id = 183</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1423" class="pln"><span class="n"><a href="#t1423">1423</a></span><span class="t"><span class="str">        db.session.add(c)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1424" class="pln"><span class="n"><a href="#t1424">1424</a></span><span class="t"><span class="str">        db.session.commit()</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1425" class="pln"><span class="n"><a href="#t1425">1425</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1426" class="pln"><span class="n"><a href="#t1426">1426</a></span><span class="t"><span class="str">        c = ChecklistKB('5.4.2', 'Verify that format strings do not take potentially hostile input, and are constant.', 1, False, 643, 2)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1427" class="pln"><span class="n"><a href="#t1427">1427</a></span><span class="t"><span class="str">        c.question_id = 36</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1428" class="pln"><span class="n"><a href="#t1428">1428</a></span><span class="t"><span class="str">        c.kb_id = 183</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1429" class="pln"><span class="n"><a href="#t1429">1429</a></span><span class="t"><span class="str">        db.session.add(c)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1430" class="pln"><span class="n"><a href="#t1430">1430</a></span><span class="t"><span class="str">        db.session.commit()</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1431" class="pln"><span class="n"><a href="#t1431">1431</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1432" class="pln"><span class="n"><a href="#t1432">1432</a></span><span class="t"><span class="str">        c = ChecklistKB('5.4.3', 'Verify that sign, range, and input validation techniques are used to prevent integer overflows.', 1, False, 643, 2)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1433" class="pln"><span class="n"><a href="#t1433">1433</a></span><span class="t"><span class="str">        c.question_id = 36</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1434" class="pln"><span class="n"><a href="#t1434">1434</a></span><span class="t"><span class="str">        c.kb_id = 183</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1435" class="pln"><span class="n"><a href="#t1435">1435</a></span><span class="t"><span class="str">        db.session.add(c)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1436" class="pln"><span class="n"><a href="#t1436">1436</a></span><span class="t"><span class="str">        db.session.commit()</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1437" class="pln"><span class="n"><a href="#t1437">1437</a></span><span class="t"><span class="str">        '''</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1438" class="pln"><span class="n"><a href="#t1438">1438</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1439" class="run"><span class="n"><a href="#t1439">1439</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.5.1'</span><span class="op">,</span> <span class="str">'Verify that serialized objects use integrity checks or are encrypted to prevent hostile object creation or data tampering.'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">502</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1440" class="run"><span class="n"><a href="#t1440">1440</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">37</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1441" class="run"><span class="n"><a href="#t1441">1441</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">271</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1442" class="run"><span class="n"><a href="#t1442">1442</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1443" class="run"><span class="n"><a href="#t1443">1443</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1444" class="pln"><span class="n"><a href="#t1444">1444</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1445" class="run"><span class="n"><a href="#t1445">1445</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.5.2'</span><span class="op">,</span> <span class="str">'Verify that the application correctly restricts XML parsers to only use the most restrictive configuration possible and to ensure that unsafe features such as resolving external entities are disabled to prevent XXE.'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">611</span><span class="op">,</span><span class="num">1</span> <span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1446" class="run"><span class="n"><a href="#t1446">1446</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">37</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1447" class="run"><span class="n"><a href="#t1447">1447</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">6</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1448" class="run"><span class="n"><a href="#t1448">1448</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1449" class="run"><span class="n"><a href="#t1449">1449</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1450" class="pln"><span class="n"><a href="#t1450">1450</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1451" class="run"><span class="n"><a href="#t1451">1451</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.5.3'</span><span class="op">,</span> <span class="str">'Verify that deserialization of untrusted data is avoided or is protected in both custom code and third-party libraries (such as JSON, XML and YAML parsers).'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">502</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1452" class="run"><span class="n"><a href="#t1452">1452</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">37</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1453" class="run"><span class="n"><a href="#t1453">1453</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">271</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1454" class="run"><span class="n"><a href="#t1454">1454</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1455" class="run"><span class="n"><a href="#t1455">1455</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1456" class="pln"><span class="n"><a href="#t1456">1456</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1457" class="run"><span class="n"><a href="#t1457">1457</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'5.5.4'</span><span class="op">,</span> <span class="str">'Verify that when parsing JSON in browsers or JavaScript-based backends, JSON.parse is used to parse the JSON document. Do not use eval() to parse JSON.'</span><span class="op">,</span> <span class="num">5</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">95</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1458" class="run"><span class="n"><a href="#t1458">1458</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">37</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1459" class="run"><span class="n"><a href="#t1459">1459</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">181</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1460" class="run"><span class="n"><a href="#t1460">1460</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1461" class="run"><span class="n"><a href="#t1461">1461</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1462" class="pln"><span class="n"><a href="#t1462">1462</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1463" class="run"><span class="n"><a href="#t1463">1463</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'6.0'</span><span class="op">,</span> <span class="str">'Stored Cryptography Verification Requirements'</span><span class="op">,</span> <span class="num">6</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="key">None</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1464" class="run"><span class="n"><a href="#t1464">1464</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="key">None</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1465" class="run"><span class="n"><a href="#t1465">1465</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1466" class="run"><span class="n"><a href="#t1466">1466</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1467" class="run"><span class="n"><a href="#t1467">1467</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1468" class="pln"><span class="n"><a href="#t1468">1468</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1469" class="run"><span class="n"><a href="#t1469">1469</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'6.1.1'</span><span class="op">,</span> <span class="str">'Verify that regulated private data is stored encrypted while at rest, such as personally identifiable information (PII), sensitive personal information, or data assessed likely to be subject to EUs GDPR.'</span><span class="op">,</span> <span class="num">6</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">311</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1470" class="run"><span class="n"><a href="#t1470">1470</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">38</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1471" class="run"><span class="n"><a href="#t1471">1471</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">207</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1472" class="run"><span class="n"><a href="#t1472">1472</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1473" class="run"><span class="n"><a href="#t1473">1473</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1474" class="pln"><span class="n"><a href="#t1474">1474</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1475" class="run"><span class="n"><a href="#t1475">1475</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'6.1.2'</span><span class="op">,</span> <span class="str">'Verify that regulated health data is stored encrypted while at rest, such as medical records, medical device details, or de-anonymized research records.'</span><span class="op">,</span> <span class="num">6</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">311</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1476" class="run"><span class="n"><a href="#t1476">1476</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">38</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1477" class="run"><span class="n"><a href="#t1477">1477</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">207</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1478" class="run"><span class="n"><a href="#t1478">1478</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1479" class="run"><span class="n"><a href="#t1479">1479</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1480" class="pln"><span class="n"><a href="#t1480">1480</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1481" class="run"><span class="n"><a href="#t1481">1481</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'6.1.3'</span><span class="op">,</span> <span class="str">'Verify that regulated financial data is stored encrypted while at rest, such as financial accounts, defaults or credit history, tax records, pay history, beneficiaries, or de-anonymized market or research records.'</span><span class="op">,</span> <span class="num">6</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">311</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1482" class="run"><span class="n"><a href="#t1482">1482</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">38</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1483" class="run"><span class="n"><a href="#t1483">1483</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">207</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1484" class="run"><span class="n"><a href="#t1484">1484</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1485" class="run"><span class="n"><a href="#t1485">1485</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1486" class="pln"><span class="n"><a href="#t1486">1486</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1487" class="pln"><span class="n"><a href="#t1487">1487</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1488" class="run"><span class="n"><a href="#t1488">1488</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'6.2.1'</span><span class="op">,</span> <span class="str">'Verify that all cryptographic modules fail securely, and errors are handled in a way that does not enable Padding Oracle attacks.'</span><span class="op">,</span> <span class="num">6</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">310</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1489" class="run"><span class="n"><a href="#t1489">1489</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">39</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1490" class="run"><span class="n"><a href="#t1490">1490</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">149</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1491" class="run"><span class="n"><a href="#t1491">1491</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1492" class="run"><span class="n"><a href="#t1492">1492</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1493" class="pln"><span class="n"><a href="#t1493">1493</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1494" class="run"><span class="n"><a href="#t1494">1494</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'6.2.2'</span><span class="op">,</span> <span class="str">'Verify that industry proven or government approved cryptographic algorithms, modes, and libraries are used, instead of custom coded cryptography.'</span><span class="op">,</span> <span class="num">6</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">327</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1495" class="run"><span class="n"><a href="#t1495">1495</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">39</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1496" class="run"><span class="n"><a href="#t1496">1496</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1497" class="run"><span class="n"><a href="#t1497">1497</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1498" class="run"><span class="n"><a href="#t1498">1498</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1499" class="pln"><span class="n"><a href="#t1499">1499</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1500" class="run"><span class="n"><a href="#t1500">1500</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'6.2.3'</span><span class="op">,</span> <span class="str">'Verify that encryption initialization vector, cipher configuration, and block modes are configured securely using the latest advice..'</span><span class="op">,</span> <span class="num">6</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">326</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1501" class="run"><span class="n"><a href="#t1501">1501</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">39</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1502" class="run"><span class="n"><a href="#t1502">1502</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1503" class="run"><span class="n"><a href="#t1503">1503</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1504" class="run"><span class="n"><a href="#t1504">1504</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1505" class="pln"><span class="n"><a href="#t1505">1505</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1506" class="run"><span class="n"><a href="#t1506">1506</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'6.2.4'</span><span class="op">,</span> <span class="str">'Verify that random number, encryption or hashing algorithms, key lengths, rounds, ciphers or modes, can be reconfigured, upgraded, or swapped at any time, to protect against cryptographic breaks.'</span><span class="op">,</span> <span class="num">6</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">326</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1507" class="run"><span class="n"><a href="#t1507">1507</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">39</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1508" class="run"><span class="n"><a href="#t1508">1508</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1509" class="run"><span class="n"><a href="#t1509">1509</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1510" class="run"><span class="n"><a href="#t1510">1510</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1511" class="pln"><span class="n"><a href="#t1511">1511</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1512" class="run"><span class="n"><a href="#t1512">1512</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'6.2.5'</span><span class="op">,</span> <span class="str">'Verify that known insecure block modes (i.e. ECB, etc.), padding modes (i.e. PKCS#1 v1.5, etc.), ciphers with small block sizes (i.e. Triple-DES, Blowfish, etc.), and weak hashing algorithms (i.e. MD5, SHA1, etc.) are not used unless required for backwards compatibility.'</span><span class="op">,</span> <span class="num">6</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">326</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1513" class="run"><span class="n"><a href="#t1513">1513</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">39</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1514" class="run"><span class="n"><a href="#t1514">1514</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1515" class="run"><span class="n"><a href="#t1515">1515</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1516" class="run"><span class="n"><a href="#t1516">1516</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1517" class="pln"><span class="n"><a href="#t1517">1517</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1518" class="run"><span class="n"><a href="#t1518">1518</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'6.2.6'</span><span class="op">,</span> <span class="str">'Verify that nonces, initialization vectors, and other single use numbers must not be used more than once with a given encryption key. The method of generation must be appropriate for the algorithm being used.'</span><span class="op">,</span> <span class="num">6</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">326</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1519" class="run"><span class="n"><a href="#t1519">1519</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">39</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1520" class="run"><span class="n"><a href="#t1520">1520</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1521" class="run"><span class="n"><a href="#t1521">1521</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1522" class="run"><span class="n"><a href="#t1522">1522</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1523" class="pln"><span class="n"><a href="#t1523">1523</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1524" class="run"><span class="n"><a href="#t1524">1524</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'6.2.7'</span><span class="op">,</span> <span class="str">'Verify that encrypted data is authenticated via signatures, authenticated cipher modes, or HMAC to ensure that ciphertext is not altered by an unauthorized party.'</span><span class="op">,</span> <span class="num">6</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">326</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1525" class="run"><span class="n"><a href="#t1525">1525</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">39</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1526" class="run"><span class="n"><a href="#t1526">1526</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1527" class="run"><span class="n"><a href="#t1527">1527</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1528" class="run"><span class="n"><a href="#t1528">1528</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1529" class="pln"><span class="n"><a href="#t1529">1529</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1530" class="run"><span class="n"><a href="#t1530">1530</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'6.2.8'</span><span class="op">,</span> <span class="str">'Verify that all cryptographic operations are constant-time, with no short-circuit operations in comparisons, calculations, or returns, to avoid leaking information'</span><span class="op">,</span> <span class="num">6</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">326</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1531" class="run"><span class="n"><a href="#t1531">1531</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">39</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1532" class="run"><span class="n"><a href="#t1532">1532</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1533" class="run"><span class="n"><a href="#t1533">1533</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1534" class="run"><span class="n"><a href="#t1534">1534</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1535" class="pln"><span class="n"><a href="#t1535">1535</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1536" class="run"><span class="n"><a href="#t1536">1536</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'6.3.1'</span><span class="op">,</span> <span class="str">'Verify that all random numbers, random file names, random GUIDs, and random strings are generated using the cryptographic modules approved cryptographically secure random number generator when these random values are intended to be not guessable by an attacker.'</span><span class="op">,</span> <span class="num">6</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">338</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1537" class="run"><span class="n"><a href="#t1537">1537</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">40</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1538" class="run"><span class="n"><a href="#t1538">1538</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">118</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1539" class="run"><span class="n"><a href="#t1539">1539</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1540" class="run"><span class="n"><a href="#t1540">1540</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1541" class="pln"><span class="n"><a href="#t1541">1541</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1542" class="run"><span class="n"><a href="#t1542">1542</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'6.3.2'</span><span class="op">,</span> <span class="str">'Verify that random GUIDs are created using the GUID v4 algorithm, and a cryptographically-secure pseudo-random number generator (CSPRNG). GUIDs created using other pseudo-random number generators may be predictable.'</span><span class="op">,</span> <span class="num">6</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">338</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1543" class="run"><span class="n"><a href="#t1543">1543</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">40</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1544" class="run"><span class="n"><a href="#t1544">1544</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">298</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1545" class="run"><span class="n"><a href="#t1545">1545</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1546" class="run"><span class="n"><a href="#t1546">1546</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1547" class="pln"><span class="n"><a href="#t1547">1547</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1548" class="run"><span class="n"><a href="#t1548">1548</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'6.3.3'</span><span class="op">,</span> <span class="str">'Verify that random numbers are created with proper entropy even when the application is under heavy load, or that the application degrades gracefully in such circumstances..'</span><span class="op">,</span> <span class="num">6</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">338</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1549" class="run"><span class="n"><a href="#t1549">1549</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">40</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1550" class="run"><span class="n"><a href="#t1550">1550</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">205</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1551" class="run"><span class="n"><a href="#t1551">1551</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1552" class="run"><span class="n"><a href="#t1552">1552</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1553" class="pln"><span class="n"><a href="#t1553">1553</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1554" class="run"><span class="n"><a href="#t1554">1554</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'6.4.1'</span><span class="op">,</span> <span class="str">'Verify that a secrets management solution such as a key vault is used to securely create, store, control access to and destroy secrets.'</span><span class="op">,</span> <span class="num">6</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">798</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1555" class="run"><span class="n"><a href="#t1555">1555</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">41</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1556" class="run"><span class="n"><a href="#t1556">1556</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1557" class="run"><span class="n"><a href="#t1557">1557</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1558" class="run"><span class="n"><a href="#t1558">1558</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1559" class="pln"><span class="n"><a href="#t1559">1559</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1560" class="run"><span class="n"><a href="#t1560">1560</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'6.4.2'</span><span class="op">,</span> <span class="str">'Verify that key material is not exposed to the application but instead uses an isolated security module like a vault for cryptographic operations.'</span><span class="op">,</span> <span class="num">6</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">320</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1561" class="run"><span class="n"><a href="#t1561">1561</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">41</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1562" class="run"><span class="n"><a href="#t1562">1562</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1563" class="run"><span class="n"><a href="#t1563">1563</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1564" class="run"><span class="n"><a href="#t1564">1564</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1565" class="pln"><span class="n"><a href="#t1565">1565</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1566" class="run"><span class="n"><a href="#t1566">1566</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'7.0'</span><span class="op">,</span> <span class="str">'Error Handling and Logging Verification Requirements'</span><span class="op">,</span> <span class="num">7</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="key">None</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1567" class="run"><span class="n"><a href="#t1567">1567</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="key">None</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1568" class="run"><span class="n"><a href="#t1568">1568</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1569" class="run"><span class="n"><a href="#t1569">1569</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1570" class="run"><span class="n"><a href="#t1570">1570</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1571" class="pln"><span class="n"><a href="#t1571">1571</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1572" class="run"><span class="n"><a href="#t1572">1572</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'7.1.1'</span><span class="op">,</span> <span class="str">'Verify that the application does not log credentials or payment details. Session tokens should only be stored in logs in an irreversible, hashed form.'</span><span class="op">,</span> <span class="num">7</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">532</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1573" class="run"><span class="n"><a href="#t1573">1573</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">42</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1574" class="run"><span class="n"><a href="#t1574">1574</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">78</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1575" class="run"><span class="n"><a href="#t1575">1575</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1576" class="run"><span class="n"><a href="#t1576">1576</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1577" class="pln"><span class="n"><a href="#t1577">1577</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1578" class="run"><span class="n"><a href="#t1578">1578</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'7.1.2'</span><span class="op">,</span> <span class="str">'Verify that the application does not log other sensitive data as defined under local privacy laws or relevant security policy.'</span><span class="op">,</span> <span class="num">7</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">532</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1579" class="run"><span class="n"><a href="#t1579">1579</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">42</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1580" class="run"><span class="n"><a href="#t1580">1580</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">78</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1581" class="run"><span class="n"><a href="#t1581">1581</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1582" class="run"><span class="n"><a href="#t1582">1582</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1583" class="pln"><span class="n"><a href="#t1583">1583</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1584" class="run"><span class="n"><a href="#t1584">1584</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'7.1.3'</span><span class="op">,</span> <span class="str">'Verify that the application logs security relevant events including successful and failed authentication events, access control failures, deserialization failures and input validation failures.'</span><span class="op">,</span> <span class="num">7</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">778</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1585" class="run"><span class="n"><a href="#t1585">1585</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">42</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1586" class="run"><span class="n"><a href="#t1586">1586</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">83</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1587" class="run"><span class="n"><a href="#t1587">1587</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1588" class="run"><span class="n"><a href="#t1588">1588</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1589" class="pln"><span class="n"><a href="#t1589">1589</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1590" class="run"><span class="n"><a href="#t1590">1590</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'7.1.4'</span><span class="op">,</span> <span class="str">'Verify that each log event includes necessary information that would allow for a detailed investigation of the timeline when an event happens'</span><span class="op">,</span> <span class="num">7</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">778</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1591" class="run"><span class="n"><a href="#t1591">1591</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">42</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1592" class="run"><span class="n"><a href="#t1592">1592</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">99</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1593" class="run"><span class="n"><a href="#t1593">1593</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1594" class="run"><span class="n"><a href="#t1594">1594</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1595" class="pln"><span class="n"><a href="#t1595">1595</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1596" class="run"><span class="n"><a href="#t1596">1596</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'7.2.1'</span><span class="op">,</span> <span class="str">'Verify that all authentication decisions are logged, without storing sensitive session identifiers or passwords. This should include requests with relevant metadata needed for security investigations.'</span><span class="op">,</span> <span class="num">7</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">778</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1597" class="run"><span class="n"><a href="#t1597">1597</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">43</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1598" class="run"><span class="n"><a href="#t1598">1598</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">232</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1599" class="run"><span class="n"><a href="#t1599">1599</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1600" class="run"><span class="n"><a href="#t1600">1600</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1601" class="pln"><span class="n"><a href="#t1601">1601</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1602" class="run"><span class="n"><a href="#t1602">1602</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'7.2.2'</span><span class="op">,</span> <span class="str">'Verify that all access control decisions can be logged and all failed decisions are logged. This should include requests with relevant metadata needed for security investigations.'</span><span class="op">,</span> <span class="num">7</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">285</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1603" class="run"><span class="n"><a href="#t1603">1603</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">43</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1604" class="run"><span class="n"><a href="#t1604">1604</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">232</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1605" class="run"><span class="n"><a href="#t1605">1605</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1606" class="run"><span class="n"><a href="#t1606">1606</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1607" class="pln"><span class="n"><a href="#t1607">1607</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1608" class="run"><span class="n"><a href="#t1608">1608</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'7.3.1'</span><span class="op">,</span> <span class="str">'Verify that the application appropriately encodes user-supplied data to prevent log injection'</span><span class="op">,</span> <span class="num">7</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">117</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1609" class="run"><span class="n"><a href="#t1609">1609</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">44</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1610" class="run"><span class="n"><a href="#t1610">1610</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1611" class="run"><span class="n"><a href="#t1611">1611</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1612" class="run"><span class="n"><a href="#t1612">1612</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1613" class="pln"><span class="n"><a href="#t1613">1613</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1614" class="run"><span class="n"><a href="#t1614">1614</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'7.3.2'</span><span class="op">,</span> <span class="str">'Verify that all events are protected from injection when viewed in log viewing software'</span><span class="op">,</span> <span class="num">7</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">117</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1615" class="run"><span class="n"><a href="#t1615">1615</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">44</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1616" class="run"><span class="n"><a href="#t1616">1616</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">100</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1617" class="run"><span class="n"><a href="#t1617">1617</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1618" class="run"><span class="n"><a href="#t1618">1618</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1619" class="pln"><span class="n"><a href="#t1619">1619</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1620" class="run"><span class="n"><a href="#t1620">1620</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'7.3.3'</span><span class="op">,</span> <span class="str">'Verify that security logs are protected from unauthorized access and modification.'</span><span class="op">,</span> <span class="num">7</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">200</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1621" class="run"><span class="n"><a href="#t1621">1621</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">44</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1622" class="run"><span class="n"><a href="#t1622">1622</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">257</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1623" class="run"><span class="n"><a href="#t1623">1623</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1624" class="run"><span class="n"><a href="#t1624">1624</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1625" class="pln"><span class="n"><a href="#t1625">1625</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1626" class="run"><span class="n"><a href="#t1626">1626</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'7.3.4'</span><span class="op">,</span> <span class="str">'Verify that time sources are synchronized to the correct time and time zone. Strongly consider logging only in UTC if systems are global to assist with post- incident forensic analysis.'</span><span class="op">,</span> <span class="num">7</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1627" class="run"><span class="n"><a href="#t1627">1627</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">44</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1628" class="run"><span class="n"><a href="#t1628">1628</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1629" class="run"><span class="n"><a href="#t1629">1629</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1630" class="run"><span class="n"><a href="#t1630">1630</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1631" class="pln"><span class="n"><a href="#t1631">1631</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1632" class="run"><span class="n"><a href="#t1632">1632</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'7.4.1'</span><span class="op">,</span> <span class="str">'Verify that a generic message is shown when an unexpected or security sensitive error occurs, potentially with a unique ID which support personnel can use to investigate.'</span><span class="op">,</span> <span class="num">7</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">210</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1633" class="run"><span class="n"><a href="#t1633">1633</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">45</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1634" class="run"><span class="n"><a href="#t1634">1634</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">15</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1635" class="run"><span class="n"><a href="#t1635">1635</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1636" class="run"><span class="n"><a href="#t1636">1636</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1637" class="pln"><span class="n"><a href="#t1637">1637</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1638" class="run"><span class="n"><a href="#t1638">1638</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'7.4.2'</span><span class="op">,</span> <span class="str">'Verify that exception handling (or a functional equivalent) is used across the codebase to account for expected and unexpected error conditions.'</span><span class="op">,</span> <span class="num">7</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">544</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1639" class="run"><span class="n"><a href="#t1639">1639</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">45</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1640" class="run"><span class="n"><a href="#t1640">1640</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">299</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1641" class="run"><span class="n"><a href="#t1641">1641</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1642" class="run"><span class="n"><a href="#t1642">1642</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1643" class="pln"><span class="n"><a href="#t1643">1643</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1644" class="run"><span class="n"><a href="#t1644">1644</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'7.4.3'</span><span class="op">,</span> <span class="str">'Verify that a last resort error handler is defined which will catch all unhandled exceptions'</span><span class="op">,</span> <span class="num">7</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">460</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1645" class="run"><span class="n"><a href="#t1645">1645</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">45</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1646" class="run"><span class="n"><a href="#t1646">1646</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">299</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1647" class="run"><span class="n"><a href="#t1647">1647</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1648" class="run"><span class="n"><a href="#t1648">1648</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1649" class="pln"><span class="n"><a href="#t1649">1649</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1650" class="run"><span class="n"><a href="#t1650">1650</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'8.0'</span><span class="op">,</span> <span class="str">'Error Handling and Logging Verification Requirements'</span><span class="op">,</span> <span class="num">8</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="key">None</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1651" class="run"><span class="n"><a href="#t1651">1651</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="key">None</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1652" class="run"><span class="n"><a href="#t1652">1652</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1653" class="run"><span class="n"><a href="#t1653">1653</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1654" class="run"><span class="n"><a href="#t1654">1654</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1655" class="pln"><span class="n"><a href="#t1655">1655</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1656" class="run"><span class="n"><a href="#t1656">1656</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'8.1.1'</span><span class="op">,</span> <span class="str">'Verify the application protects sensitive data from being cached in server components such as load balancers and application caches.'</span><span class="op">,</span> <span class="num">8</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">542</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1657" class="run"><span class="n"><a href="#t1657">1657</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">46</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1658" class="run"><span class="n"><a href="#t1658">1658</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">19</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1659" class="run"><span class="n"><a href="#t1659">1659</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1660" class="run"><span class="n"><a href="#t1660">1660</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1661" class="pln"><span class="n"><a href="#t1661">1661</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1662" class="run"><span class="n"><a href="#t1662">1662</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'8.1.2'</span><span class="op">,</span> <span class="str">'Verify that all cached or temporary copies of sensitive data stored on the server are protected from unauthorized access or purged/invalidated after the authorized user accesses the sensitive data.'</span><span class="op">,</span> <span class="num">8</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">524</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1663" class="run"><span class="n"><a href="#t1663">1663</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">19</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1664" class="run"><span class="n"><a href="#t1664">1664</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">145</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1665" class="run"><span class="n"><a href="#t1665">1665</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1666" class="run"><span class="n"><a href="#t1666">1666</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1667" class="pln"><span class="n"><a href="#t1667">1667</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1668" class="run"><span class="n"><a href="#t1668">1668</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'8.1.3'</span><span class="op">,</span> <span class="str">'Verify the application minimizes the number of parameters in a request, such as hidden fields, Ajax variables, cookies and header values.'</span><span class="op">,</span> <span class="num">8</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">233</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1669" class="run"><span class="n"><a href="#t1669">1669</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">46</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1670" class="run"><span class="n"><a href="#t1670">1670</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1671" class="run"><span class="n"><a href="#t1671">1671</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1672" class="run"><span class="n"><a href="#t1672">1672</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1673" class="pln"><span class="n"><a href="#t1673">1673</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1674" class="run"><span class="n"><a href="#t1674">1674</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'8.1.4'</span><span class="op">,</span> <span class="str">'Verify the application can detect and alert on abnormal numbers of requests, such as by IP, user, total per hour or day, or whatever makes sense for the application.'</span><span class="op">,</span> <span class="num">8</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">525</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1675" class="run"><span class="n"><a href="#t1675">1675</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">46</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1676" class="run"><span class="n"><a href="#t1676">1676</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">19</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1677" class="run"><span class="n"><a href="#t1677">1677</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1678" class="run"><span class="n"><a href="#t1678">1678</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1679" class="pln"><span class="n"><a href="#t1679">1679</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1680" class="run"><span class="n"><a href="#t1680">1680</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'8.1.5'</span><span class="op">,</span> <span class="str">'Verify that regular backups of important data are performed and that test restoration of data is performed.'</span><span class="op">,</span> <span class="num">8</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">770</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1681" class="run"><span class="n"><a href="#t1681">1681</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">46</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1682" class="run"><span class="n"><a href="#t1682">1682</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">125</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1683" class="run"><span class="n"><a href="#t1683">1683</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1684" class="run"><span class="n"><a href="#t1684">1684</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1685" class="pln"><span class="n"><a href="#t1685">1685</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1686" class="run"><span class="n"><a href="#t1686">1686</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'8.1.6'</span><span class="op">,</span> <span class="str">'Verify that backups are stored securely to prevent data from being stolen or corrupted.'</span><span class="op">,</span> <span class="num">8</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">19</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1687" class="run"><span class="n"><a href="#t1687">1687</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">46</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1688" class="run"><span class="n"><a href="#t1688">1688</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">300</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1689" class="run"><span class="n"><a href="#t1689">1689</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1690" class="run"><span class="n"><a href="#t1690">1690</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1691" class="pln"><span class="n"><a href="#t1691">1691</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1692" class="run"><span class="n"><a href="#t1692">1692</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'8.2.1'</span><span class="op">,</span> <span class="str">'Verify the application sets sufficient anti-caching headers so that sensitive data is not cached in modern browsers.'</span><span class="op">,</span> <span class="num">8</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">525</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1693" class="run"><span class="n"><a href="#t1693">1693</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">25</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1694" class="run"><span class="n"><a href="#t1694">1694</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">19</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1695" class="run"><span class="n"><a href="#t1695">1695</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1696" class="run"><span class="n"><a href="#t1696">1696</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1697" class="pln"><span class="n"><a href="#t1697">1697</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1698" class="run"><span class="n"><a href="#t1698">1698</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'8.2.2'</span><span class="op">,</span> <span class="str">'Verify that data stored in client side storage (such as HTML5 local storage, session storage, IndexedDB, regular cookies or Flash cookies) does not contain sensitive data or PII.'</span><span class="op">,</span> <span class="num">8</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">922</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1699" class="run"><span class="n"><a href="#t1699">1699</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">47</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1700" class="run"><span class="n"><a href="#t1700">1700</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">190</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1701" class="run"><span class="n"><a href="#t1701">1701</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1702" class="run"><span class="n"><a href="#t1702">1702</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1703" class="pln"><span class="n"><a href="#t1703">1703</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1704" class="run"><span class="n"><a href="#t1704">1704</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'8.2.3'</span><span class="op">,</span> <span class="str">'Verify that authenticated data is cleared from client storage, such as the browser DOM, after the client or session is terminated.'</span><span class="op">,</span> <span class="num">8</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">922</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1705" class="run"><span class="n"><a href="#t1705">1705</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">47</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1706" class="run"><span class="n"><a href="#t1706">1706</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">190</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1707" class="run"><span class="n"><a href="#t1707">1707</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1708" class="run"><span class="n"><a href="#t1708">1708</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1709" class="pln"><span class="n"><a href="#t1709">1709</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1710" class="run"><span class="n"><a href="#t1710">1710</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'8.3.1'</span><span class="op">,</span> <span class="str">'Verify that sensitive data is sent to the server in the HTTP message body or headers, and that query string parameters from any HTTP verb do not contain sensitive data.'</span><span class="op">,</span> <span class="num">8</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">319</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1711" class="run"><span class="n"><a href="#t1711">1711</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">48</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1712" class="run"><span class="n"><a href="#t1712">1712</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">72</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1713" class="run"><span class="n"><a href="#t1713">1713</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1714" class="run"><span class="n"><a href="#t1714">1714</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1715" class="pln"><span class="n"><a href="#t1715">1715</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1716" class="run"><span class="n"><a href="#t1716">1716</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'8.3.2'</span><span class="op">,</span> <span class="str">'Verify that users have a method to remove or export their data on demand.'</span><span class="op">,</span> <span class="num">8</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">212</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1717" class="run"><span class="n"><a href="#t1717">1717</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">48</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1718" class="run"><span class="n"><a href="#t1718">1718</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1719" class="run"><span class="n"><a href="#t1719">1719</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1720" class="run"><span class="n"><a href="#t1720">1720</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1721" class="pln"><span class="n"><a href="#t1721">1721</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1722" class="run"><span class="n"><a href="#t1722">1722</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'8.3.3'</span><span class="op">,</span> <span class="str">'Verify that users are provided clear language regarding collection and use of supplied personal information and that users have provided opt-in consent for the use of that data before it is used in any way.'</span><span class="op">,</span> <span class="num">8</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">285</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1723" class="run"><span class="n"><a href="#t1723">1723</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">48</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1724" class="run"><span class="n"><a href="#t1724">1724</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1725" class="run"><span class="n"><a href="#t1725">1725</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1726" class="run"><span class="n"><a href="#t1726">1726</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1727" class="pln"><span class="n"><a href="#t1727">1727</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1728" class="run"><span class="n"><a href="#t1728">1728</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'8.3.4'</span><span class="op">,</span> <span class="str">'Verify that all sensitive data created and processed by the application has been identified, and ensure that a policy is in place on how to deal with sensitive data.'</span><span class="op">,</span> <span class="num">8</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">200</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1729" class="run"><span class="n"><a href="#t1729">1729</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">48</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1730" class="run"><span class="n"><a href="#t1730">1730</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">276</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1731" class="run"><span class="n"><a href="#t1731">1731</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1732" class="run"><span class="n"><a href="#t1732">1732</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1733" class="pln"><span class="n"><a href="#t1733">1733</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1734" class="run"><span class="n"><a href="#t1734">1734</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'8.3.5'</span><span class="op">,</span> <span class="str">'Verify accessing sensitive data is audited (without logging the sensitive data itself), if the data is collected under relevant data protection directives or where logging of access is required.'</span><span class="op">,</span> <span class="num">8</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">532</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1735" class="run"><span class="n"><a href="#t1735">1735</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">48</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1736" class="run"><span class="n"><a href="#t1736">1736</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">235</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1737" class="run"><span class="n"><a href="#t1737">1737</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1738" class="run"><span class="n"><a href="#t1738">1738</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1739" class="pln"><span class="n"><a href="#t1739">1739</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1740" class="run"><span class="n"><a href="#t1740">1740</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'8.3.6'</span><span class="op">,</span> <span class="str">'Verify that sensitive information contained in memory is overwritten as soon as it is no longer required to mitigate memory dumping attacks, using zeroes or random data.'</span><span class="op">,</span> <span class="num">8</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">226</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1741" class="run"><span class="n"><a href="#t1741">1741</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">48</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1742" class="run"><span class="n"><a href="#t1742">1742</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">19</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1743" class="run"><span class="n"><a href="#t1743">1743</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1744" class="run"><span class="n"><a href="#t1744">1744</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1745" class="pln"><span class="n"><a href="#t1745">1745</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1746" class="run"><span class="n"><a href="#t1746">1746</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'8.3.7'</span><span class="op">,</span> <span class="str">'Verify that sensitive or private information that is required to be encrypted, is encrypted using approved algorithms that provide both confidentiality and integrity'</span><span class="op">,</span> <span class="num">8</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">525</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1747" class="run"><span class="n"><a href="#t1747">1747</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">48</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1748" class="run"><span class="n"><a href="#t1748">1748</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">135</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1749" class="run"><span class="n"><a href="#t1749">1749</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1750" class="run"><span class="n"><a href="#t1750">1750</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1751" class="pln"><span class="n"><a href="#t1751">1751</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1752" class="run"><span class="n"><a href="#t1752">1752</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'8.3.8'</span><span class="op">,</span> <span class="str">'Verify that sensitive personal information is subject to data retention classification, such that old or out of date data is deleted automatically, on a schedule, or as the situation requires.'</span><span class="op">,</span> <span class="num">8</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">285</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1753" class="run"><span class="n"><a href="#t1753">1753</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">48</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1754" class="run"><span class="n"><a href="#t1754">1754</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">276</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1755" class="run"><span class="n"><a href="#t1755">1755</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1756" class="run"><span class="n"><a href="#t1756">1756</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1757" class="pln"><span class="n"><a href="#t1757">1757</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1758" class="run"><span class="n"><a href="#t1758">1758</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'9.0'</span><span class="op">,</span> <span class="str">'Communications Verification Requirements'</span><span class="op">,</span> <span class="num">9</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="key">None</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1759" class="run"><span class="n"><a href="#t1759">1759</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="key">None</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1760" class="run"><span class="n"><a href="#t1760">1760</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1761" class="run"><span class="n"><a href="#t1761">1761</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1762" class="run"><span class="n"><a href="#t1762">1762</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1763" class="pln"><span class="n"><a href="#t1763">1763</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1764" class="run"><span class="n"><a href="#t1764">1764</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'9.1.1'</span><span class="op">,</span> <span class="str">'Verify that secured TLS is used for all client connectivity, and does not fall back to insecure or unencrypted protocols.'</span><span class="op">,</span> <span class="num">9</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">319</span><span class="op">,</span><span class="num">1</span> <span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1765" class="run"><span class="n"><a href="#t1765">1765</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">49</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1766" class="run"><span class="n"><a href="#t1766">1766</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">244</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1767" class="run"><span class="n"><a href="#t1767">1767</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1768" class="run"><span class="n"><a href="#t1768">1768</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1769" class="pln"><span class="n"><a href="#t1769">1769</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1770" class="run"><span class="n"><a href="#t1770">1770</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'9.1.2'</span><span class="op">,</span> <span class="str">'Verify using online or up to date TLS testing tools that only strong algorithms, ciphers, and protocols are enabled, with the strongest algorithms and ciphers set as preferred.'</span><span class="op">,</span> <span class="num">9</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">326</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1771" class="run"><span class="n"><a href="#t1771">1771</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">49</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1772" class="run"><span class="n"><a href="#t1772">1772</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">247</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1773" class="run"><span class="n"><a href="#t1773">1773</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1774" class="run"><span class="n"><a href="#t1774">1774</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1775" class="pln"><span class="n"><a href="#t1775">1775</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1776" class="run"><span class="n"><a href="#t1776">1776</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'9.1.3'</span><span class="op">,</span> <span class="str">'Verify that old versions of SSL and TLS protocols, algorithms, ciphers, and configuration are disabled, such as SSLv2, SSLv3, or TLS 1.0 and TLS 1.1. The latest version of TLS should be the preferred cipher suite.'</span><span class="op">,</span> <span class="num">9</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">326</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1777" class="run"><span class="n"><a href="#t1777">1777</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">49</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1778" class="run"><span class="n"><a href="#t1778">1778</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">247</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1779" class="run"><span class="n"><a href="#t1779">1779</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1780" class="run"><span class="n"><a href="#t1780">1780</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1781" class="pln"><span class="n"><a href="#t1781">1781</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1782" class="run"><span class="n"><a href="#t1782">1782</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'9.2.1'</span><span class="op">,</span> <span class="str">'Verify that connections to and from the server use trusted TLS certificates. Where internally generated or self-signed certificates are used, the server must be configured to only trust specific internal CAs and specific self-signed certificates. All others should be rejected.'</span><span class="op">,</span> <span class="num">9</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">295</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1783" class="run"><span class="n"><a href="#t1783">1783</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">50</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1784" class="run"><span class="n"><a href="#t1784">1784</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">101</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1785" class="run"><span class="n"><a href="#t1785">1785</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1786" class="run"><span class="n"><a href="#t1786">1786</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1787" class="pln"><span class="n"><a href="#t1787">1787</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1788" class="run"><span class="n"><a href="#t1788">1788</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'9.2.2'</span><span class="op">,</span> <span class="str">'Verify that encrypted communications such as TLS is used for all inbound and outbound connections, including for management ports, monitoring, authentication, API, or web service calls, database, cloud, serverless, mainframe, external, and partner connections. The server must not fall back to insecure or unencrypted protocols.'</span><span class="op">,</span> <span class="num">9</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">319</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1789" class="run"><span class="n"><a href="#t1789">1789</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">50</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1790" class="run"><span class="n"><a href="#t1790">1790</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">302</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1791" class="run"><span class="n"><a href="#t1791">1791</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1792" class="run"><span class="n"><a href="#t1792">1792</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1793" class="pln"><span class="n"><a href="#t1793">1793</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1794" class="run"><span class="n"><a href="#t1794">1794</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'9.2.3'</span><span class="op">,</span> <span class="str">'Verify that all encrypted connections to external systems that involve sensitive information or functions are authenticated.'</span><span class="op">,</span> <span class="num">9</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">297</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1795" class="run"><span class="n"><a href="#t1795">1795</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">50</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1796" class="run"><span class="n"><a href="#t1796">1796</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1797" class="run"><span class="n"><a href="#t1797">1797</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1798" class="run"><span class="n"><a href="#t1798">1798</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1799" class="pln"><span class="n"><a href="#t1799">1799</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1800" class="run"><span class="n"><a href="#t1800">1800</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'9.2.4'</span><span class="op">,</span> <span class="str">'Verify that proper certification revocation, such as Online Certificate Status Protocol (OCSP) Stapling, is enabled and configured.'</span><span class="op">,</span> <span class="num">9</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">299</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1801" class="run"><span class="n"><a href="#t1801">1801</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">50</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1802" class="run"><span class="n"><a href="#t1802">1802</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">139</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1803" class="run"><span class="n"><a href="#t1803">1803</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1804" class="run"><span class="n"><a href="#t1804">1804</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1805" class="pln"><span class="n"><a href="#t1805">1805</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1806" class="run"><span class="n"><a href="#t1806">1806</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'9.2.5'</span><span class="op">,</span> <span class="str">'Verify that backend TLS connection failures are logged'</span><span class="op">,</span> <span class="num">9</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">544</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1807" class="run"><span class="n"><a href="#t1807">1807</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">50</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1808" class="run"><span class="n"><a href="#t1808">1808</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">103</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1809" class="run"><span class="n"><a href="#t1809">1809</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1810" class="run"><span class="n"><a href="#t1810">1810</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1811" class="pln"><span class="n"><a href="#t1811">1811</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1812" class="run"><span class="n"><a href="#t1812">1812</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'10.0'</span><span class="op">,</span> <span class="str">'Malicious Code Verification Requirements'</span><span class="op">,</span> <span class="num">10</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="key">None</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1813" class="run"><span class="n"><a href="#t1813">1813</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="key">None</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1814" class="run"><span class="n"><a href="#t1814">1814</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1815" class="run"><span class="n"><a href="#t1815">1815</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1816" class="run"><span class="n"><a href="#t1816">1816</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1817" class="pln"><span class="n"><a href="#t1817">1817</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1818" class="run"><span class="n"><a href="#t1818">1818</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'10.1.1'</span><span class="op">,</span> <span class="str">'Verify that a code analysis tool is in use that can detect potentially malicious code, such as time functions, unsafe file operations and network connections.'</span><span class="op">,</span> <span class="num">10</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">749</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1819" class="run"><span class="n"><a href="#t1819">1819</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">51</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1820" class="run"><span class="n"><a href="#t1820">1820</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">301</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1821" class="run"><span class="n"><a href="#t1821">1821</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1822" class="run"><span class="n"><a href="#t1822">1822</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1823" class="pln"><span class="n"><a href="#t1823">1823</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1824" class="run"><span class="n"><a href="#t1824">1824</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'10.2.1'</span><span class="op">,</span> <span class="str">'Verify that the application source code and third party libraries do not contain unauthorized phone home or data collection capabilities. Where such functionality exists, obtain the users permission for it to operate before collecting any data.'</span><span class="op">,</span> <span class="num">10</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">359</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1825" class="run"><span class="n"><a href="#t1825">1825</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">52</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1826" class="run"><span class="n"><a href="#t1826">1826</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1827" class="run"><span class="n"><a href="#t1827">1827</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1828" class="run"><span class="n"><a href="#t1828">1828</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1829" class="pln"><span class="n"><a href="#t1829">1829</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1830" class="run"><span class="n"><a href="#t1830">1830</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'10.2.2'</span><span class="op">,</span> <span class="str">'Verify that the application does not ask for unnecessary or excessive permissions to privacy related features or sensors, such as contacts, cameras, microphones, or location.'</span><span class="op">,</span> <span class="num">10</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">272</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1831" class="run"><span class="n"><a href="#t1831">1831</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">52</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1832" class="run"><span class="n"><a href="#t1832">1832</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1833" class="run"><span class="n"><a href="#t1833">1833</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1834" class="run"><span class="n"><a href="#t1834">1834</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1835" class="pln"><span class="n"><a href="#t1835">1835</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1836" class="run"><span class="n"><a href="#t1836">1836</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'10.2.3'</span><span class="op">,</span> <span class="str">'Verify that the application source code and third party libraries do not contain back doors, such as hard-coded or additional undocumented accounts or keys, code obfuscation, undocumented binary blobs, rootkits, or anti-debugging, insecure debugging features, or otherwise out of date, insecure, or hidden functionality that could be used maliciously if discovered.'</span><span class="op">,</span> <span class="num">10</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">507</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1837" class="run"><span class="n"><a href="#t1837">1837</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">52</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1838" class="run"><span class="n"><a href="#t1838">1838</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1839" class="run"><span class="n"><a href="#t1839">1839</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1840" class="run"><span class="n"><a href="#t1840">1840</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1841" class="pln"><span class="n"><a href="#t1841">1841</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1842" class="run"><span class="n"><a href="#t1842">1842</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'10.2.4'</span><span class="op">,</span> <span class="str">'Verify that the application source code and third party libraries does not contain time bombs by searching for date and time related functions.'</span><span class="op">,</span> <span class="num">10</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">511</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1843" class="run"><span class="n"><a href="#t1843">1843</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">52</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1844" class="run"><span class="n"><a href="#t1844">1844</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1845" class="run"><span class="n"><a href="#t1845">1845</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1846" class="run"><span class="n"><a href="#t1846">1846</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1847" class="pln"><span class="n"><a href="#t1847">1847</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1848" class="run"><span class="n"><a href="#t1848">1848</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'10.2.5'</span><span class="op">,</span> <span class="str">'Verify that the application source code and third party libraries does not contain malicious code, such as salami attacks, logic bypasses, or logic bombs.'</span><span class="op">,</span> <span class="num">10</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">511</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1849" class="run"><span class="n"><a href="#t1849">1849</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">52</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1850" class="run"><span class="n"><a href="#t1850">1850</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1851" class="run"><span class="n"><a href="#t1851">1851</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1852" class="run"><span class="n"><a href="#t1852">1852</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1853" class="pln"><span class="n"><a href="#t1853">1853</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1854" class="run"><span class="n"><a href="#t1854">1854</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'10.2.6'</span><span class="op">,</span> <span class="str">'Verify that the application source code and third party libraries do not contain Easter eggs or any other potentially unwanted functionality.'</span><span class="op">,</span> <span class="num">10</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">507</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1855" class="run"><span class="n"><a href="#t1855">1855</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">52</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1856" class="run"><span class="n"><a href="#t1856">1856</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="key">None</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1857" class="run"><span class="n"><a href="#t1857">1857</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1858" class="run"><span class="n"><a href="#t1858">1858</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1859" class="pln"><span class="n"><a href="#t1859">1859</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1860" class="run"><span class="n"><a href="#t1860">1860</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'10.3.1'</span><span class="op">,</span> <span class="str">'Verify that if the application has a client or server auto-update feature, updates should be obtained over secure channels and digitally signed. The update code must validate the digital signature of the update before installing or executing the update.'</span><span class="op">,</span> <span class="num">10</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">16</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1861" class="run"><span class="n"><a href="#t1861">1861</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">53</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1862" class="run"><span class="n"><a href="#t1862">1862</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1863" class="run"><span class="n"><a href="#t1863">1863</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1864" class="run"><span class="n"><a href="#t1864">1864</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1865" class="pln"><span class="n"><a href="#t1865">1865</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1866" class="run"><span class="n"><a href="#t1866">1866</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'10.3.2'</span><span class="op">,</span> <span class="str">'Verify that the application employs integrity protections, such as code signing or sub-resource integrity. The application must not load or execute code from untrusted sources, such as loading includes, modules, plugins, code, or libraries from untrusted sources or the Internet.'</span><span class="op">,</span> <span class="num">10</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">353</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1867" class="run"><span class="n"><a href="#t1867">1867</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">53</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1868" class="run"><span class="n"><a href="#t1868">1868</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">303</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1869" class="run"><span class="n"><a href="#t1869">1869</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1870" class="run"><span class="n"><a href="#t1870">1870</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1871" class="pln"><span class="n"><a href="#t1871">1871</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1872" class="run"><span class="n"><a href="#t1872">1872</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'10.3.3'</span><span class="op">,</span> <span class="str">'Verify that the application has protection from sub-domain takeovers if the application relies upon DNS entries or DNS sub-domains, such as expired domain names, out of date DNS pointers or CNAMEs, expired projects at public source code repos, or transient cloud APIs, serverless functions, or storage buckets (autogen-bucket-id.cloud.example.com) or similar. Protections can include ensuring that DNS names used by applications are regularly checked for expiry or change.'</span><span class="op">,</span> <span class="num">10</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">350</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1873" class="run"><span class="n"><a href="#t1873">1873</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">53</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1874" class="run"><span class="n"><a href="#t1874">1874</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">294</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1875" class="run"><span class="n"><a href="#t1875">1875</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1876" class="run"><span class="n"><a href="#t1876">1876</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1877" class="pln"><span class="n"><a href="#t1877">1877</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1878" class="run"><span class="n"><a href="#t1878">1878</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'11.0'</span><span class="op">,</span> <span class="str">'Business Logic Verification Requirements'</span><span class="op">,</span> <span class="num">11</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="key">None</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1879" class="run"><span class="n"><a href="#t1879">1879</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="key">None</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1880" class="run"><span class="n"><a href="#t1880">1880</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1881" class="run"><span class="n"><a href="#t1881">1881</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1882" class="run"><span class="n"><a href="#t1882">1882</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1883" class="pln"><span class="n"><a href="#t1883">1883</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1884" class="run"><span class="n"><a href="#t1884">1884</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'11.1.1'</span><span class="op">,</span> <span class="str">'Verify the application will only process business logic flows for the same user in sequential step order and without skipping steps.'</span><span class="op">,</span> <span class="num">11</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">841</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1885" class="run"><span class="n"><a href="#t1885">1885</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">54</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1886" class="run"><span class="n"><a href="#t1886">1886</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">110</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1887" class="run"><span class="n"><a href="#t1887">1887</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1888" class="run"><span class="n"><a href="#t1888">1888</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1889" class="pln"><span class="n"><a href="#t1889">1889</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1890" class="run"><span class="n"><a href="#t1890">1890</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'11.1.2'</span><span class="op">,</span> <span class="str">'Verify the application will only process business logic flows with all steps being processed in realistic human time, i.e. transactions are not submitted too quickly.'</span><span class="op">,</span> <span class="num">11</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">779</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1891" class="run"><span class="n"><a href="#t1891">1891</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">54</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1892" class="run"><span class="n"><a href="#t1892">1892</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1893" class="run"><span class="n"><a href="#t1893">1893</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1894" class="run"><span class="n"><a href="#t1894">1894</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1895" class="pln"><span class="n"><a href="#t1895">1895</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1896" class="run"><span class="n"><a href="#t1896">1896</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'11.1.3'</span><span class="op">,</span> <span class="str">'Verify the application has appropriate limits for specific business actions or transactions which are correctly enforced on a per user basis.'</span><span class="op">,</span> <span class="num">11</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">770</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1897" class="run"><span class="n"><a href="#t1897">1897</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">54</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1898" class="run"><span class="n"><a href="#t1898">1898</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1899" class="run"><span class="n"><a href="#t1899">1899</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1900" class="run"><span class="n"><a href="#t1900">1900</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1901" class="pln"><span class="n"><a href="#t1901">1901</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1902" class="run"><span class="n"><a href="#t1902">1902</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'11.1.4'</span><span class="op">,</span> <span class="str">'Verify the application has sufficient anti-automation controls to detect and protect against data exfiltration, excessive business logic requests, excessive file uploads or denial of service attacks.'</span><span class="op">,</span> <span class="num">11</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">770</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1903" class="run"><span class="n"><a href="#t1903">1903</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">54</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1904" class="run"><span class="n"><a href="#t1904">1904</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1905" class="run"><span class="n"><a href="#t1905">1905</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1906" class="run"><span class="n"><a href="#t1906">1906</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1907" class="pln"><span class="n"><a href="#t1907">1907</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1908" class="run"><span class="n"><a href="#t1908">1908</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'11.1.5'</span><span class="op">,</span> <span class="str">'Verify the application has business logic limits or validation to protect against likely business risks or threats, identified using threat modelling or similar methodologies.'</span><span class="op">,</span> <span class="num">11</span><span class="op">,</span> <span class="key">True</span><span class="op">,</span> <span class="num">841</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1909" class="run"><span class="n"><a href="#t1909">1909</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">54</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1910" class="run"><span class="n"><a href="#t1910">1910</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">164</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1911" class="run"><span class="n"><a href="#t1911">1911</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1912" class="run"><span class="n"><a href="#t1912">1912</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1913" class="pln"><span class="n"><a href="#t1913">1913</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1914" class="run"><span class="n"><a href="#t1914">1914</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'11.1.6'</span><span class="op">,</span> <span class="str">'Verify the application does not suffer from "time of check to time of use" (TOCTOU) issues or other race conditions for sensitive operations.'</span><span class="op">,</span> <span class="num">11</span><span class="op">,</span> <span class="key">True</span><span class="op">,</span> <span class="num">367</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1915" class="run"><span class="n"><a href="#t1915">1915</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">54</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1916" class="run"><span class="n"><a href="#t1916">1916</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">293</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1917" class="run"><span class="n"><a href="#t1917">1917</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1918" class="run"><span class="n"><a href="#t1918">1918</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1919" class="pln"><span class="n"><a href="#t1919">1919</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1920" class="run"><span class="n"><a href="#t1920">1920</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'11.1.7'</span><span class="op">,</span> <span class="str">'Verify the application monitors for unusual events or activity from a business logic perspective. For example, attempts to perform actions out of order or actions which a normal user would never attempt'</span><span class="op">,</span> <span class="num">11</span><span class="op">,</span> <span class="key">True</span><span class="op">,</span> <span class="num">754</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1921" class="run"><span class="n"><a href="#t1921">1921</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">54</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1922" class="run"><span class="n"><a href="#t1922">1922</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1923" class="run"><span class="n"><a href="#t1923">1923</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1924" class="run"><span class="n"><a href="#t1924">1924</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1925" class="pln"><span class="n"><a href="#t1925">1925</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1926" class="run"><span class="n"><a href="#t1926">1926</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'11.1.8'</span><span class="op">,</span> <span class="str">'Verify the application has configurable alerting when automated attacks or unusual activity is detected.'</span><span class="op">,</span> <span class="num">11</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">390</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1927" class="run"><span class="n"><a href="#t1927">1927</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">54</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1928" class="run"><span class="n"><a href="#t1928">1928</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1929" class="run"><span class="n"><a href="#t1929">1929</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1930" class="run"><span class="n"><a href="#t1930">1930</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1931" class="pln"><span class="n"><a href="#t1931">1931</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1932" class="run"><span class="n"><a href="#t1932">1932</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'12.0'</span><span class="op">,</span> <span class="str">'File and Resources Verification Requirements'</span><span class="op">,</span> <span class="num">12</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="key">None</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1933" class="run"><span class="n"><a href="#t1933">1933</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="key">None</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1934" class="run"><span class="n"><a href="#t1934">1934</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1935" class="run"><span class="n"><a href="#t1935">1935</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1936" class="run"><span class="n"><a href="#t1936">1936</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1937" class="pln"><span class="n"><a href="#t1937">1937</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1938" class="run"><span class="n"><a href="#t1938">1938</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'12.1.1'</span><span class="op">,</span> <span class="str">'Verify that the application will not accept large files that could fill up storage or cause a denial of service attack.'</span><span class="op">,</span> <span class="num">12</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">400</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1939" class="run"><span class="n"><a href="#t1939">1939</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">55</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1940" class="run"><span class="n"><a href="#t1940">1940</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">13</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1941" class="run"><span class="n"><a href="#t1941">1941</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1942" class="run"><span class="n"><a href="#t1942">1942</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1943" class="pln"><span class="n"><a href="#t1943">1943</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1944" class="run"><span class="n"><a href="#t1944">1944</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'12.1.2'</span><span class="op">,</span> <span class="str">'Verify that compressed files are checked for "zip bombs" - small input files that will decompress into huge files thus exhausting file storage limits.'</span><span class="op">,</span> <span class="num">12</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">400</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1945" class="run"><span class="n"><a href="#t1945">1945</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">55</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1946" class="run"><span class="n"><a href="#t1946">1946</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">13</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1947" class="run"><span class="n"><a href="#t1947">1947</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1948" class="run"><span class="n"><a href="#t1948">1948</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1949" class="pln"><span class="n"><a href="#t1949">1949</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1950" class="run"><span class="n"><a href="#t1950">1950</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'12.1.3'</span><span class="op">,</span> <span class="str">'Verify that a file size quota and maximum number of files per user is enforced to ensure that a single user cannot fill up the storage with too many files, or excessively large files.'</span><span class="op">,</span> <span class="num">12</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">409</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1951" class="run"><span class="n"><a href="#t1951">1951</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">55</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1952" class="run"><span class="n"><a href="#t1952">1952</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">13</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1953" class="run"><span class="n"><a href="#t1953">1953</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1954" class="run"><span class="n"><a href="#t1954">1954</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1955" class="pln"><span class="n"><a href="#t1955">1955</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1956" class="run"><span class="n"><a href="#t1956">1956</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'12.2.1'</span><span class="op">,</span> <span class="str">'Verify that files obtained from untrusted sources are validated to be of expected type based on the files content.'</span><span class="op">,</span> <span class="num">12</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">434</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1957" class="run"><span class="n"><a href="#t1957">1957</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">56</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1958" class="run"><span class="n"><a href="#t1958">1958</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">13</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1959" class="run"><span class="n"><a href="#t1959">1959</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1960" class="run"><span class="n"><a href="#t1960">1960</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1961" class="pln"><span class="n"><a href="#t1961">1961</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1962" class="run"><span class="n"><a href="#t1962">1962</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'12.3.1'</span><span class="op">,</span> <span class="str">'Verify that user-submitted filename metadata is not used directly with system or framework file and URL API to protect against path traversal.'</span><span class="op">,</span> <span class="num">12</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">22</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1963" class="run"><span class="n"><a href="#t1963">1963</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">57</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1964" class="run"><span class="n"><a href="#t1964">1964</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">13</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1965" class="run"><span class="n"><a href="#t1965">1965</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1966" class="run"><span class="n"><a href="#t1966">1966</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1967" class="pln"><span class="n"><a href="#t1967">1967</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1968" class="run"><span class="n"><a href="#t1968">1968</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'12.3.2'</span><span class="op">,</span> <span class="str">'Verify that user-submitted filename metadata is validated or ignored to prevent the disclosure, creation, updating or removal of local files (LFI).'</span><span class="op">,</span> <span class="num">12</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">73</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1969" class="run"><span class="n"><a href="#t1969">1969</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">57</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1970" class="run"><span class="n"><a href="#t1970">1970</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">13</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1971" class="run"><span class="n"><a href="#t1971">1971</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1972" class="run"><span class="n"><a href="#t1972">1972</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1973" class="pln"><span class="n"><a href="#t1973">1973</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1974" class="run"><span class="n"><a href="#t1974">1974</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'12.3.3'</span><span class="op">,</span> <span class="str">'Verify that user-submitted filename metadata is validated or ignored to prevent the disclosure or execution of remote files (RFI); which may also lead to SSRF.'</span><span class="op">,</span> <span class="num">12</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">98</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1975" class="run"><span class="n"><a href="#t1975">1975</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">57</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1976" class="run"><span class="n"><a href="#t1976">1976</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">13</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1977" class="run"><span class="n"><a href="#t1977">1977</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1978" class="run"><span class="n"><a href="#t1978">1978</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1979" class="pln"><span class="n"><a href="#t1979">1979</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1980" class="run"><span class="n"><a href="#t1980">1980</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'12.3.4'</span><span class="op">,</span> <span class="str">'Verify that the application protects against reflective file download (RFD) by validating or ignoring user-submitted filenames in a JSON, JSONP, or URL parameter, the response Content-Type header should be set to text/plain, and the Content-Disposition header should have a fixed filename.'</span><span class="op">,</span> <span class="num">12</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">641</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1981" class="run"><span class="n"><a href="#t1981">1981</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">57</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1982" class="run"><span class="n"><a href="#t1982">1982</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">160</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1983" class="run"><span class="n"><a href="#t1983">1983</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1984" class="run"><span class="n"><a href="#t1984">1984</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1985" class="pln"><span class="n"><a href="#t1985">1985</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1986" class="run"><span class="n"><a href="#t1986">1986</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'12.3.5'</span><span class="op">,</span> <span class="str">'Verify that untrusted file metadata is not used directly with system API or libraries, to protect against OS command injection.'</span><span class="op">,</span> <span class="num">12</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">78</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1987" class="run"><span class="n"><a href="#t1987">1987</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">57</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1988" class="run"><span class="n"><a href="#t1988">1988</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">225</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1989" class="run"><span class="n"><a href="#t1989">1989</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1990" class="run"><span class="n"><a href="#t1990">1990</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1991" class="pln"><span class="n"><a href="#t1991">1991</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1992" class="run"><span class="n"><a href="#t1992">1992</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'12.3.6'</span><span class="op">,</span> <span class="str">'Verify that the application does not include and execute functionality from untrusted sources, such as unverified content distribution networks, JavaScript libraries, node npm libraries, or server-side DLLs.'</span><span class="op">,</span> <span class="num">12</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">829</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1993" class="run"><span class="n"><a href="#t1993">1993</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">57</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1994" class="run"><span class="n"><a href="#t1994">1994</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">13</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1995" class="run"><span class="n"><a href="#t1995">1995</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1996" class="run"><span class="n"><a href="#t1996">1996</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1997" class="pln"><span class="n"><a href="#t1997">1997</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t1998" class="run"><span class="n"><a href="#t1998">1998</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'12.4.1'</span><span class="op">,</span> <span class="str">'Verify that files obtained from untrusted sources are stored outside the web root, with limited permissions, preferably with strong validation.'</span><span class="op">,</span> <span class="num">12</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">922</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t1999" class="run"><span class="n"><a href="#t1999">1999</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">58</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2000" class="run"><span class="n"><a href="#t2000">2000</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">227</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2001" class="run"><span class="n"><a href="#t2001">2001</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2002" class="run"><span class="n"><a href="#t2002">2002</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2003" class="pln"><span class="n"><a href="#t2003">2003</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2004" class="run"><span class="n"><a href="#t2004">2004</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'12.4.2'</span><span class="op">,</span> <span class="str">'Verify that files obtained from untrusted sources are scanned by antivirus scanners to prevent upload of known malicious content.'</span><span class="op">,</span> <span class="num">12</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">509</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2005" class="run"><span class="n"><a href="#t2005">2005</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">58</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2006" class="run"><span class="n"><a href="#t2006">2006</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">226</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2007" class="run"><span class="n"><a href="#t2007">2007</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2008" class="run"><span class="n"><a href="#t2008">2008</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2009" class="pln"><span class="n"><a href="#t2009">2009</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2010" class="run"><span class="n"><a href="#t2010">2010</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'12.5.1'</span><span class="op">,</span> <span class="str">'Verify that the web tier is configured to serve only files with specific file extensions to prevent unintentional information and source code leakage. For example, backup files (e.g. .bak); temporary working files (e.g. .swp); compressed files (.zip, .tar.gz, etc) and other extensions commonly used by editors should be blocked unless required.'</span><span class="op">,</span> <span class="num">12</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">552</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2011" class="run"><span class="n"><a href="#t2011">2011</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">59</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2012" class="run"><span class="n"><a href="#t2012">2012</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">288</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2013" class="run"><span class="n"><a href="#t2013">2013</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2014" class="run"><span class="n"><a href="#t2014">2014</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2015" class="pln"><span class="n"><a href="#t2015">2015</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2016" class="run"><span class="n"><a href="#t2016">2016</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'12.5.2'</span><span class="op">,</span> <span class="str">'Verify that direct requests to uploaded files will never be executed as HTML/JavaScript content.'</span><span class="op">,</span> <span class="num">12</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">434</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2017" class="run"><span class="n"><a href="#t2017">2017</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">59</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2018" class="run"><span class="n"><a href="#t2018">2018</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">227</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2019" class="run"><span class="n"><a href="#t2019">2019</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2020" class="run"><span class="n"><a href="#t2020">2020</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2021" class="pln"><span class="n"><a href="#t2021">2021</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2022" class="run"><span class="n"><a href="#t2022">2022</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'12.6.1'</span><span class="op">,</span> <span class="str">'Verify that the web or application server is configured with a whitelist of resources or systems to which the server can send requests or load data/files from.'</span><span class="op">,</span> <span class="num">12</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">918</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2023" class="run"><span class="n"><a href="#t2023">2023</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">60</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2024" class="run"><span class="n"><a href="#t2024">2024</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2025" class="run"><span class="n"><a href="#t2025">2025</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2026" class="run"><span class="n"><a href="#t2026">2026</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2027" class="pln"><span class="n"><a href="#t2027">2027</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2028" class="run"><span class="n"><a href="#t2028">2028</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'13.0'</span><span class="op">,</span> <span class="str">'API and Web Service Verification Requirements'</span><span class="op">,</span> <span class="num">13</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="key">None</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2029" class="run"><span class="n"><a href="#t2029">2029</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="key">None</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2030" class="run"><span class="n"><a href="#t2030">2030</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2031" class="run"><span class="n"><a href="#t2031">2031</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2032" class="run"><span class="n"><a href="#t2032">2032</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2033" class="pln"><span class="n"><a href="#t2033">2033</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2034" class="run"><span class="n"><a href="#t2034">2034</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'13.1.1'</span><span class="op">,</span> <span class="str">'Verify that all application components use the same encodings and parsers to avoid parsing attacks that exploit different URI or file parsing behavior that could be used in SSRF and RFI attacks.'</span><span class="op">,</span> <span class="num">13</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">116</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2035" class="run"><span class="n"><a href="#t2035">2035</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">61</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2036" class="run"><span class="n"><a href="#t2036">2036</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2037" class="run"><span class="n"><a href="#t2037">2037</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2038" class="run"><span class="n"><a href="#t2038">2038</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2039" class="pln"><span class="n"><a href="#t2039">2039</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2040" class="run"><span class="n"><a href="#t2040">2040</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'13.1.2'</span><span class="op">,</span> <span class="str">'Verify that access to administration and management functions is limited to authorized administrators.'</span><span class="op">,</span> <span class="num">13</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">419</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2041" class="run"><span class="n"><a href="#t2041">2041</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">61</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2042" class="run"><span class="n"><a href="#t2042">2042</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2043" class="run"><span class="n"><a href="#t2043">2043</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2044" class="run"><span class="n"><a href="#t2044">2044</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2045" class="pln"><span class="n"><a href="#t2045">2045</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2046" class="run"><span class="n"><a href="#t2046">2046</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'13.1.3'</span><span class="op">,</span> <span class="str">'Verify API URLs do not expose sensitive information, such as the API key, session tokens etc.'</span><span class="op">,</span> <span class="num">13</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">598</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2047" class="run"><span class="n"><a href="#t2047">2047</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">61</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2048" class="run"><span class="n"><a href="#t2048">2048</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">91</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2049" class="run"><span class="n"><a href="#t2049">2049</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2050" class="run"><span class="n"><a href="#t2050">2050</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2051" class="pln"><span class="n"><a href="#t2051">2051</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2052" class="run"><span class="n"><a href="#t2052">2052</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'13.1.4'</span><span class="op">,</span> <span class="str">'Verify that authorization decisions are made at both the URI, enforced by programmatic or declarative security at the controller or router, and at the resource level, enforced by model-based permissions.'</span><span class="op">,</span> <span class="num">13</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">285</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2053" class="run"><span class="n"><a href="#t2053">2053</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">61</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2054" class="run"><span class="n"><a href="#t2054">2054</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2055" class="run"><span class="n"><a href="#t2055">2055</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2056" class="run"><span class="n"><a href="#t2056">2056</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2057" class="pln"><span class="n"><a href="#t2057">2057</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2058" class="run"><span class="n"><a href="#t2058">2058</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'13.1.5'</span><span class="op">,</span> <span class="str">'Verify that requests containing unexpected or missing content types are rejected with appropriate headers (HTTP response status 406 Unacceptable or 415 Unsupported Media Type).'</span><span class="op">,</span> <span class="num">13</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">434</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2059" class="run"><span class="n"><a href="#t2059">2059</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">61</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2060" class="run"><span class="n"><a href="#t2060">2060</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">104</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2061" class="run"><span class="n"><a href="#t2061">2061</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2062" class="run"><span class="n"><a href="#t2062">2062</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2063" class="pln"><span class="n"><a href="#t2063">2063</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2064" class="run"><span class="n"><a href="#t2064">2064</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'13.2.1'</span><span class="op">,</span> <span class="str">'Verify that enabled RESTful HTTP methods are a valid choice for the user or action, such as preventing normal users using DELETE or PUT on protected API or resources.'</span><span class="op">,</span> <span class="num">13</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">650</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2065" class="run"><span class="n"><a href="#t2065">2065</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">62</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2066" class="run"><span class="n"><a href="#t2066">2066</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">129</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2067" class="run"><span class="n"><a href="#t2067">2067</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2068" class="run"><span class="n"><a href="#t2068">2068</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2069" class="pln"><span class="n"><a href="#t2069">2069</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2070" class="run"><span class="n"><a href="#t2070">2070</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'13.2.2'</span><span class="op">,</span> <span class="str">'Verify that JSON schema validation is in place and verified before accepting input.'</span><span class="op">,</span> <span class="num">13</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">20</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2071" class="run"><span class="n"><a href="#t2071">2071</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">62</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2072" class="run"><span class="n"><a href="#t2072">2072</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">286</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2073" class="run"><span class="n"><a href="#t2073">2073</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2074" class="run"><span class="n"><a href="#t2074">2074</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2075" class="pln"><span class="n"><a href="#t2075">2075</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2076" class="run"><span class="n"><a href="#t2076">2076</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'13.2.3'</span><span class="op">,</span> <span class="str">'Verify that RESTful web services that utilize cookies are protected from Cross-Site Request Forgery via the use of at least one or more of the following: triple or double submit cookie pattern, CSRF nonces, or ORIGIN request header checks.'</span><span class="op">,</span> <span class="num">13</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">352</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2077" class="run"><span class="n"><a href="#t2077">2077</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">62</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2078" class="run"><span class="n"><a href="#t2078">2078</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">224</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2079" class="run"><span class="n"><a href="#t2079">2079</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2080" class="run"><span class="n"><a href="#t2080">2080</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2081" class="pln"><span class="n"><a href="#t2081">2081</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2082" class="run"><span class="n"><a href="#t2082">2082</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'13.2.4'</span><span class="op">,</span> <span class="str">'Verify that REST services have anti-automation controls to protect against excessive calls, especially if the API is unauthenticated.'</span><span class="op">,</span> <span class="num">13</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">779</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2083" class="run"><span class="n"><a href="#t2083">2083</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">62</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2084" class="run"><span class="n"><a href="#t2084">2084</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">116</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2085" class="run"><span class="n"><a href="#t2085">2085</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2086" class="run"><span class="n"><a href="#t2086">2086</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2087" class="pln"><span class="n"><a href="#t2087">2087</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2088" class="run"><span class="n"><a href="#t2088">2088</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'13.2.5'</span><span class="op">,</span> <span class="str">'Verify that REST services explicitly check the incoming Content-Type to be the expected one, such as application/xml or application/JSON.'</span><span class="op">,</span> <span class="num">13</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">436</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2089" class="run"><span class="n"><a href="#t2089">2089</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">62</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2090" class="run"><span class="n"><a href="#t2090">2090</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">104</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2091" class="run"><span class="n"><a href="#t2091">2091</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2092" class="run"><span class="n"><a href="#t2092">2092</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2093" class="pln"><span class="n"><a href="#t2093">2093</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2094" class="pln"><span class="n"><a href="#t2094">2094</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2095" class="run"><span class="n"><a href="#t2095">2095</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'13.2.6'</span><span class="op">,</span> <span class="str">'Verify that the message headers and payload are trustworthy and not modified in transit. Requiring strong encryption for transport (TLS only) may be sufficient in many cases as it provides both confidentiality and integrity protection. Per- message digital signatures can provide additional assurance on top of the transport protections for high-security applications but bring with them additional complexity and risks to weigh against the benefits'</span><span class="op">,</span> <span class="num">13</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">598</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2096" class="run"><span class="n"><a href="#t2096">2096</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">62</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2097" class="run"><span class="n"><a href="#t2097">2097</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2098" class="run"><span class="n"><a href="#t2098">2098</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2099" class="run"><span class="n"><a href="#t2099">2099</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2100" class="pln"><span class="n"><a href="#t2100">2100</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2101" class="run"><span class="n"><a href="#t2101">2101</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'13.3.1'</span><span class="op">,</span> <span class="str">'Verify that XSD schema validation takes place to ensure a properly formed XML document, followed by validation of each input field before any processing of that data takes place.'</span><span class="op">,</span> <span class="num">13</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">20</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2102" class="run"><span class="n"><a href="#t2102">2102</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">63</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2103" class="run"><span class="n"><a href="#t2103">2103</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">175</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2104" class="run"><span class="n"><a href="#t2104">2104</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2105" class="run"><span class="n"><a href="#t2105">2105</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2106" class="pln"><span class="n"><a href="#t2106">2106</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2107" class="run"><span class="n"><a href="#t2107">2107</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'13.3.2'</span><span class="op">,</span> <span class="str">'Verify that the message payload is signed using WS-Security to ensure reliable transport between client and service.'</span><span class="op">,</span> <span class="num">13</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">345</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2108" class="run"><span class="n"><a href="#t2108">2108</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">63</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2109" class="run"><span class="n"><a href="#t2109">2109</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">195</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2110" class="run"><span class="n"><a href="#t2110">2110</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2111" class="run"><span class="n"><a href="#t2111">2111</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2112" class="pln"><span class="n"><a href="#t2112">2112</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2113" class="run"><span class="n"><a href="#t2113">2113</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'13.4.1'</span><span class="op">,</span> <span class="str">'Verify that query whitelisting or a combination of depth limiting and amount limiting should be used to prevent GraphQL or data layer expression denial of service (DoS) as a result of expensive, nested queries. For more advanced scenarios, query cost analysis should be used.'</span><span class="op">,</span> <span class="num">13</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">770</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2114" class="run"><span class="n"><a href="#t2114">2114</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">64</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2115" class="run"><span class="n"><a href="#t2115">2115</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">285</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2116" class="run"><span class="n"><a href="#t2116">2116</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2117" class="run"><span class="n"><a href="#t2117">2117</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2118" class="pln"><span class="n"><a href="#t2118">2118</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2119" class="run"><span class="n"><a href="#t2119">2119</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'13.4.2'</span><span class="op">,</span> <span class="str">'Verify that GraphQL or other data layer authorization logic should be implemented at the business logic layer instead of the GraphQL layer.'</span><span class="op">,</span> <span class="num">13</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">285</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2120" class="run"><span class="n"><a href="#t2120">2120</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">64</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2121" class="run"><span class="n"><a href="#t2121">2121</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">285</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2122" class="run"><span class="n"><a href="#t2122">2122</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2123" class="run"><span class="n"><a href="#t2123">2123</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2124" class="pln"><span class="n"><a href="#t2124">2124</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2125" class="run"><span class="n"><a href="#t2125">2125</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.0'</span><span class="op">,</span> <span class="str">'Configuration Verification Requirements'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="key">None</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2126" class="run"><span class="n"><a href="#t2126">2126</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="key">None</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2127" class="run"><span class="n"><a href="#t2127">2127</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">1</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2128" class="run"><span class="n"><a href="#t2128">2128</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2129" class="run"><span class="n"><a href="#t2129">2129</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2130" class="pln"><span class="n"><a href="#t2130">2130</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2131" class="run"><span class="n"><a href="#t2131">2131</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.1.1'</span><span class="op">,</span> <span class="str">'Verify that the application build and deployment processes are performed in a secure and repeatable way, such as CI / CD automation, automated configuration management, and automated deployment scripts'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2132" class="run"><span class="n"><a href="#t2132">2132</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">65</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2133" class="run"><span class="n"><a href="#t2133">2133</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">284</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2134" class="run"><span class="n"><a href="#t2134">2134</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2135" class="run"><span class="n"><a href="#t2135">2135</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2136" class="pln"><span class="n"><a href="#t2136">2136</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2137" class="run"><span class="n"><a href="#t2137">2137</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.1.2'</span><span class="op">,</span> <span class="str">'Verify that compiler flags are configured to enable all available buffer overflow protections and warnings, including stack randomization, data execution prevention, and to break the build if an unsafe pointer, memory, format string, integer, or string operations are found.'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">120</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2138" class="run"><span class="n"><a href="#t2138">2138</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">65</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2139" class="run"><span class="n"><a href="#t2139">2139</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2140" class="run"><span class="n"><a href="#t2140">2140</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2141" class="run"><span class="n"><a href="#t2141">2141</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2142" class="pln"><span class="n"><a href="#t2142">2142</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2143" class="run"><span class="n"><a href="#t2143">2143</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.1.3'</span><span class="op">,</span> <span class="str">'Verify that server configuration is hardened as per the recommendations of the application server and frameworks in use.'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">16</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2144" class="run"><span class="n"><a href="#t2144">2144</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">65</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2145" class="run"><span class="n"><a href="#t2145">2145</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2146" class="run"><span class="n"><a href="#t2146">2146</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2147" class="run"><span class="n"><a href="#t2147">2147</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2148" class="pln"><span class="n"><a href="#t2148">2148</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2149" class="run"><span class="n"><a href="#t2149">2149</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.1.4'</span><span class="op">,</span> <span class="str">'Verify that the application, configuration, and all dependencies can be re- deployed using automated deployment scripts, built from a documented and tested runbook in a reasonable time, or restored from backups in a timely fashion.'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2150" class="run"><span class="n"><a href="#t2150">2150</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">65</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2151" class="run"><span class="n"><a href="#t2151">2151</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2152" class="run"><span class="n"><a href="#t2152">2152</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2153" class="run"><span class="n"><a href="#t2153">2153</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2154" class="pln"><span class="n"><a href="#t2154">2154</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2155" class="run"><span class="n"><a href="#t2155">2155</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.1.5'</span><span class="op">,</span> <span class="str">'Verify that authorized administrators can verify the integrity of all security- &#10003; relevant configurations to detect tampering.'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2156" class="run"><span class="n"><a href="#t2156">2156</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">65</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2157" class="run"><span class="n"><a href="#t2157">2157</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">237</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2158" class="run"><span class="n"><a href="#t2158">2158</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2159" class="run"><span class="n"><a href="#t2159">2159</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2160" class="pln"><span class="n"><a href="#t2160">2160</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2161" class="run"><span class="n"><a href="#t2161">2161</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.2.1'</span><span class="op">,</span> <span class="str">'Verify that all components are up to date, preferably using a dependency checker during build or compile time.'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">1026</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2162" class="run"><span class="n"><a href="#t2162">2162</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">65</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2163" class="run"><span class="n"><a href="#t2163">2163</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2164" class="run"><span class="n"><a href="#t2164">2164</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2165" class="run"><span class="n"><a href="#t2165">2165</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2166" class="pln"><span class="n"><a href="#t2166">2166</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2167" class="run"><span class="n"><a href="#t2167">2167</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.2.2'</span><span class="op">,</span> <span class="str">'Verify that all unneeded features, documentation, samples, configurations are removed, such as sample applications, platform documentation, and default or example users.'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">1002</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2168" class="run"><span class="n"><a href="#t2168">2168</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">66</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2169" class="run"><span class="n"><a href="#t2169">2169</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">283</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2170" class="run"><span class="n"><a href="#t2170">2170</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2171" class="run"><span class="n"><a href="#t2171">2171</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2172" class="pln"><span class="n"><a href="#t2172">2172</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2173" class="run"><span class="n"><a href="#t2173">2173</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.2.3'</span><span class="op">,</span> <span class="str">'Verify that if application assets, such as JavaScript libraries, CSS stylesheets or web fonts, are hosted externally on a content delivery network (CDN) or external provider, Subresource Integrity (SRI) is used to validate the integrity of the asset.'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">714</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2174" class="run"><span class="n"><a href="#t2174">2174</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">66</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2175" class="run"><span class="n"><a href="#t2175">2175</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">223</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2176" class="run"><span class="n"><a href="#t2176">2176</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2177" class="run"><span class="n"><a href="#t2177">2177</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2178" class="pln"><span class="n"><a href="#t2178">2178</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2179" class="run"><span class="n"><a href="#t2179">2179</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.2.4'</span><span class="op">,</span> <span class="str">'Verify that third party components come from pre-defined, trusted and continually maintained repositories'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">828</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2180" class="run"><span class="n"><a href="#t2180">2180</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">66</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2181" class="run"><span class="n"><a href="#t2181">2181</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">238</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2182" class="run"><span class="n"><a href="#t2182">2182</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2183" class="run"><span class="n"><a href="#t2183">2183</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2184" class="pln"><span class="n"><a href="#t2184">2184</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2185" class="run"><span class="n"><a href="#t2185">2185</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.2.5'</span><span class="op">,</span> <span class="str">'Verify that an inventory catalog is maintained of all third party libraries in use.'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="key">None</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2186" class="run"><span class="n"><a href="#t2186">2186</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">66</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2187" class="run"><span class="n"><a href="#t2187">2187</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2188" class="run"><span class="n"><a href="#t2188">2188</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2189" class="run"><span class="n"><a href="#t2189">2189</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2190" class="pln"><span class="n"><a href="#t2190">2190</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2191" class="run"><span class="n"><a href="#t2191">2191</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.2.6'</span><span class="op">,</span> <span class="str">'Verify that the attack surface is reduced by sandboxing or encapsulating third party libraries to expose only the required behaviour into the application.'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">265</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2192" class="run"><span class="n"><a href="#t2192">2192</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">66</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2193" class="run"><span class="n"><a href="#t2193">2193</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2194" class="run"><span class="n"><a href="#t2194">2194</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2195" class="run"><span class="n"><a href="#t2195">2195</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2196" class="pln"><span class="n"><a href="#t2196">2196</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2197" class="run"><span class="n"><a href="#t2197">2197</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.3.1'</span><span class="op">,</span> <span class="str">'Verify that web or application server and framework error messages are configured to deliver user actionable, customized responses to eliminate any unintended security disclosures.'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">True</span><span class="op">,</span> <span class="num">209</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2198" class="run"><span class="n"><a href="#t2198">2198</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">67</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2199" class="run"><span class="n"><a href="#t2199">2199</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2200" class="run"><span class="n"><a href="#t2200">2200</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2201" class="run"><span class="n"><a href="#t2201">2201</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2202" class="pln"><span class="n"><a href="#t2202">2202</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2203" class="run"><span class="n"><a href="#t2203">2203</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.3.2'</span><span class="op">,</span> <span class="str">'Verify that web or application server and application framework debug modes are disabled in production to eliminate debug features, developer consoles, and unintended security disclosures.'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">True</span><span class="op">,</span> <span class="num">497</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2204" class="run"><span class="n"><a href="#t2204">2204</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">67</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2205" class="run"><span class="n"><a href="#t2205">2205</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">16</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2206" class="run"><span class="n"><a href="#t2206">2206</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2207" class="run"><span class="n"><a href="#t2207">2207</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2208" class="pln"><span class="n"><a href="#t2208">2208</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2209" class="run"><span class="n"><a href="#t2209">2209</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.3.3'</span><span class="op">,</span> <span class="str">'Verify that the HTTP headers or any part of the HTTP response do not expose detailed version information of system components.'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">200</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2210" class="run"><span class="n"><a href="#t2210">2210</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">67</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2211" class="run"><span class="n"><a href="#t2211">2211</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">130</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2212" class="run"><span class="n"><a href="#t2212">2212</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2213" class="run"><span class="n"><a href="#t2213">2213</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2214" class="pln"><span class="n"><a href="#t2214">2214</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2215" class="run"><span class="n"><a href="#t2215">2215</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.4.1'</span><span class="op">,</span> <span class="str">'Verify that every HTTP response contains a content type header specifying a safe character set (e.g., UTF-8, ISO 8859-1).'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">173</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2216" class="run"><span class="n"><a href="#t2216">2216</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">68</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2217" class="run"><span class="n"><a href="#t2217">2217</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">104</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2218" class="run"><span class="n"><a href="#t2218">2218</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2219" class="run"><span class="n"><a href="#t2219">2219</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2220" class="pln"><span class="n"><a href="#t2220">2220</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2221" class="run"><span class="n"><a href="#t2221">2221</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.4.2'</span><span class="op">,</span> <span class="str">'Verify that all API responses contain Content-Disposition: attachment; filename="api.json" (or other appropriate filename for the content type).'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">116</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2222" class="run"><span class="n"><a href="#t2222">2222</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">68</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2223" class="run"><span class="n"><a href="#t2223">2223</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">193</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2224" class="run"><span class="n"><a href="#t2224">2224</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2225" class="run"><span class="n"><a href="#t2225">2225</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2226" class="pln"><span class="n"><a href="#t2226">2226</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2227" class="run"><span class="n"><a href="#t2227">2227</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.4.3'</span><span class="op">,</span> <span class="str">'Verify that a content security policy (CSPv2) is in place that helps mitigate impact for XSS attacks like HTML, DOM, JSON, and JavaScript injection vulnerabilities.'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">1021</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2228" class="run"><span class="n"><a href="#t2228">2228</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">68</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2229" class="run"><span class="n"><a href="#t2229">2229</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">178</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2230" class="run"><span class="n"><a href="#t2230">2230</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2231" class="run"><span class="n"><a href="#t2231">2231</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2232" class="pln"><span class="n"><a href="#t2232">2232</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2233" class="run"><span class="n"><a href="#t2233">2233</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.4.4'</span><span class="op">,</span> <span class="str">'Verify that all responses contain X-Content-Type-Options: nosniff.'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">116</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2234" class="run"><span class="n"><a href="#t2234">2234</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">68</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2235" class="run"><span class="n"><a href="#t2235">2235</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">193</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2236" class="run"><span class="n"><a href="#t2236">2236</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2237" class="run"><span class="n"><a href="#t2237">2237</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2238" class="pln"><span class="n"><a href="#t2238">2238</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2239" class="run"><span class="n"><a href="#t2239">2239</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.4.5'</span><span class="op">,</span> <span class="str">'Verify that HTTP Strict Transport Security headers are included on all responses and for all subdomains, such as Strict-Transport-Security: max-age=15724800; includeSubdomains.'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">523</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2240" class="run"><span class="n"><a href="#t2240">2240</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">68</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2241" class="run"><span class="n"><a href="#t2241">2241</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">192</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2242" class="run"><span class="n"><a href="#t2242">2242</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2243" class="run"><span class="n"><a href="#t2243">2243</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2244" class="pln"><span class="n"><a href="#t2244">2244</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2245" class="run"><span class="n"><a href="#t2245">2245</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.4.6'</span><span class="op">,</span> <span class="str">'Verify that a suitable "Referrer-Policy" header is included, such as "no-referrer" or "same-origin".'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">116</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2246" class="run"><span class="n"><a href="#t2246">2246</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">68</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2247" class="run"><span class="n"><a href="#t2247">2247</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">282</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2248" class="run"><span class="n"><a href="#t2248">2248</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2249" class="run"><span class="n"><a href="#t2249">2249</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2250" class="pln"><span class="n"><a href="#t2250">2250</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2251" class="run"><span class="n"><a href="#t2251">2251</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.4.7'</span><span class="op">,</span> <span class="str">'Verify that a suitable X-Frame-Options or Content-Security-Policy: frame-ancestors header is in use for sites where content should not be embedded in a third-party site.'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">346</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2252" class="run"><span class="n"><a href="#t2252">2252</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">68</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2253" class="run"><span class="n"><a href="#t2253">2253</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">20</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2254" class="run"><span class="n"><a href="#t2254">2254</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2255" class="run"><span class="n"><a href="#t2255">2255</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2256" class="pln"><span class="n"><a href="#t2256">2256</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2257" class="run"><span class="n"><a href="#t2257">2257</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.5.1'</span><span class="op">,</span> <span class="str">'Verify that the application server only accepts the HTTP methods in use by the application or API, including pre-flight OPTIONS.'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">749</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2258" class="run"><span class="n"><a href="#t2258">2258</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">69</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2259" class="run"><span class="n"><a href="#t2259">2259</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">129</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2260" class="run"><span class="n"><a href="#t2260">2260</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2261" class="run"><span class="n"><a href="#t2261">2261</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2262" class="pln"><span class="n"><a href="#t2262">2262</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2263" class="run"><span class="n"><a href="#t2263">2263</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.5.2'</span><span class="op">,</span> <span class="str">'Verify that the supplied Origin header is not used for authentication or access control decisions, as the Origin header can easily be changed by an attacker.'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">346</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2264" class="run"><span class="n"><a href="#t2264">2264</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">69</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2265" class="run"><span class="n"><a href="#t2265">2265</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2266" class="run"><span class="n"><a href="#t2266">2266</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2267" class="run"><span class="n"><a href="#t2267">2267</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2268" class="pln"><span class="n"><a href="#t2268">2268</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2269" class="run"><span class="n"><a href="#t2269">2269</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.5.3'</span><span class="op">,</span> <span class="str">'Verify that the cross-domain resource sharing (CORS) Access-Control-Allow-Origin header uses a strict white-list of trusted domains to match against and does not support the "null" origin.'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">346</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2270" class="run"><span class="n"><a href="#t2270">2270</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">69</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2271" class="run"><span class="n"><a href="#t2271">2271</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">112</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2272" class="run"><span class="n"><a href="#t2272">2272</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2273" class="run"><span class="n"><a href="#t2273">2273</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2274" class="pln"><span class="n"><a href="#t2274">2274</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2275" class="run"><span class="n"><a href="#t2275">2275</a></span><span class="t">        <span class="nam">c</span> <span class="op">=</span> <span class="nam">ChecklistKB</span><span class="op">(</span><span class="str">'14.5.4'</span><span class="op">,</span> <span class="str">'Verify that HTTP headers added by a trusted proxy or SSO devices, such as a bearer token, are authenticated by the application.'</span><span class="op">,</span> <span class="num">14</span><span class="op">,</span> <span class="key">False</span><span class="op">,</span> <span class="num">306</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">;</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2276" class="run"><span class="n"><a href="#t2276">2276</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">question_id</span> <span class="op">=</span> <span class="num">69</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2277" class="run"><span class="n"><a href="#t2277">2277</a></span><span class="t">        <span class="nam">c</span><span class="op">.</span><span class="nam">kb_id</span> <span class="op">=</span> <span class="num">999</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2278" class="run"><span class="n"><a href="#t2278">2278</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">c</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2279" class="run"><span class="n"><a href="#t2279">2279</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2280" class="pln"><span class="n"><a href="#t2280">2280</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2281" class="run"><span class="n"><a href="#t2281">2281</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Path traversal (LFI)'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-1-filename-injection'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2282" class="run"><span class="n"><a href="#t2282">2282</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2283" class="pln"><span class="n"><a href="#t2283">2283</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2284" class="run"><span class="n"><a href="#t2284">2284</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Cross Site Scripting'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-3-cross-site-scripting'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2285" class="run"><span class="n"><a href="#t2285">2285</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2286" class="pln"><span class="n"><a href="#t2286">2286</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2287" class="run"><span class="n"><a href="#t2287">2287</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Cross site scripting (attribute)'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-3-cross-site-scripting-attribute'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2288" class="run"><span class="n"><a href="#t2288">2288</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2289" class="pln"><span class="n"><a href="#t2289">2289</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2290" class="run"><span class="n"><a href="#t2290">2290</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Cross site scripting (href)'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-3-cross-site-scripting-href'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2291" class="run"><span class="n"><a href="#t2291">2291</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2292" class="pln"><span class="n"><a href="#t2292">2292</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2293" class="run"><span class="n"><a href="#t2293">2293</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Cross site request forgery'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-5-csrf'</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2294" class="run"><span class="n"><a href="#t2294">2294</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2295" class="pln"><span class="n"><a href="#t2295">2295</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2296" class="run"><span class="n"><a href="#t2296">2296</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Cross site request forgery (same site)'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-5-csrf-samesite'</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2297" class="run"><span class="n"><a href="#t2297">2297</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2298" class="pln"><span class="n"><a href="#t2298">2298</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2299" class="run"><span class="n"><a href="#t2299">2299</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'External entity attack'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-6-xxe'</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2300" class="run"><span class="n"><a href="#t2300">2300</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2301" class="pln"><span class="n"><a href="#t2301">2301</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2302" class="run"><span class="n"><a href="#t2302">2302</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Insecure file upload'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-13-file-upload'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2303" class="run"><span class="n"><a href="#t2303">2303</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2304" class="pln"><span class="n"><a href="#t2304">2304</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2305" class="run"><span class="n"><a href="#t2305">2305</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Clickjacking'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-20-clickjacking'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2306" class="run"><span class="n"><a href="#t2306">2306</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2307" class="pln"><span class="n"><a href="#t2307">2307</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2308" class="run"><span class="n"><a href="#t2308">2308</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Rate-limiting'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-29-ratelimiting'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2309" class="run"><span class="n"><a href="#t2309">2309</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2310" class="pln"><span class="n"><a href="#t2310">2310</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2311" class="run"><span class="n"><a href="#t2311">2311</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'HttpOnly (session hijacking)'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-39-httponly-session-hijacking-xss'</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2312" class="run"><span class="n"><a href="#t2312">2312</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2313" class="pln"><span class="n"><a href="#t2313">2313</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2314" class="run"><span class="n"><a href="#t2314">2314</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Missing authorization'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-44-authorisation-missing'</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2315" class="run"><span class="n"><a href="#t2315">2315</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2316" class="pln"><span class="n"><a href="#t2316">2316</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2317" class="run"><span class="n"><a href="#t2317">2317</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Exposed Docker daemon'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-45-exposed-docker'</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2318" class="run"><span class="n"><a href="#t2318">2318</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2319" class="pln"><span class="n"><a href="#t2319">2319</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2320" class="run"><span class="n"><a href="#t2320">2320</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'SQLI (union select)'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-46-sqli-union-select'</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2321" class="run"><span class="n"><a href="#t2321">2321</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2322" class="pln"><span class="n"><a href="#t2322">2322</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2323" class="run"><span class="n"><a href="#t2323">2323</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Open redirect (hard)'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-67-open-redirect-hard'</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2324" class="run"><span class="n"><a href="#t2324">2324</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2325" class="pln"><span class="n"><a href="#t2325">2325</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2326" class="run"><span class="n"><a href="#t2326">2326</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'CORS exploitation'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-112-cors-exploitation'</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2327" class="run"><span class="n"><a href="#t2327">2327</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2328" class="pln"><span class="n"><a href="#t2328">2328</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2329" class="run"><span class="n"><a href="#t2329">2329</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Formulla injection'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-95-formula-injection'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2330" class="run"><span class="n"><a href="#t2330">2330</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2331" class="pln"><span class="n"><a href="#t2331">2331</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2332" class="run"><span class="n"><a href="#t2332">2332</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Mass assingment attack'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-147-parameter-binding'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2333" class="run"><span class="n"><a href="#t2333">2333</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2334" class="pln"><span class="n"><a href="#t2334">2334</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2335" class="run"><span class="n"><a href="#t2335">2335</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'SQLI -like'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-156-sqli-like'</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2336" class="run"><span class="n"><a href="#t2336">2336</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2337" class="pln"><span class="n"><a href="#t2337">2337</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2338" class="run"><span class="n"><a href="#t2338">2338</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'SQLI-blind'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-156-sqli-blind'</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2339" class="run"><span class="n"><a href="#t2339">2339</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2340" class="pln"><span class="n"><a href="#t2340">2340</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2341" class="run"><span class="n"><a href="#t2341">2341</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Local file inclusion'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-173-local-file-inclusion'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2342" class="run"><span class="n"><a href="#t2342">2342</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2343" class="pln"><span class="n"><a href="#t2343">2343</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2344" class="run"><span class="n"><a href="#t2344">2344</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Remote file inclusion 1'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-173-remote-file-inclusion'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2345" class="run"><span class="n"><a href="#t2345">2345</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2346" class="pln"><span class="n"><a href="#t2346">2346</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2347" class="run"><span class="n"><a href="#t2347">2347</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Remote file inclusion 2'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-173-lfi-2'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2348" class="run"><span class="n"><a href="#t2348">2348</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2349" class="pln"><span class="n"><a href="#t2349">2349</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2350" class="run"><span class="n"><a href="#t2350">2350</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Remote file inclusion 3'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-173-lfi-3'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2351" class="run"><span class="n"><a href="#t2351">2351</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2352" class="pln"><span class="n"><a href="#t2352">2352</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2353" class="run"><span class="n"><a href="#t2353">2353</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Content security policiy'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-178-content-security-policy'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2354" class="run"><span class="n"><a href="#t2354">2354</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2355" class="pln"><span class="n"><a href="#t2355">2355</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2356" class="run"><span class="n"><a href="#t2356">2356</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Server side request forgery'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-262-server-side-request-forgery'</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2357" class="run"><span class="n"><a href="#t2357">2357</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2358" class="pln"><span class="n"><a href="#t2358">2358</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2359" class="run"><span class="n"><a href="#t2359">2359</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Tabnabbing'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-266-tabnabbing'</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2360" class="run"><span class="n"><a href="#t2360">2360</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2361" class="pln"><span class="n"><a href="#t2361">2361</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2362" class="run"><span class="n"><a href="#t2362">2362</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Server side template injection'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-267-server-side-template-injection'</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2363" class="run"><span class="n"><a href="#t2363">2363</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2364" class="pln"><span class="n"><a href="#t2364">2364</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2365" class="run"><span class="n"><a href="#t2365">2365</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Insecure direct object reference'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-268-insecure-direct-object-references'</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2366" class="run"><span class="n"><a href="#t2366">2366</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2367" class="pln"><span class="n"><a href="#t2367">2367</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2368" class="run"><span class="n"><a href="#t2368">2368</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'JWT null'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-7006-jwt-null'</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2369" class="run"><span class="n"><a href="#t2369">2369</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2370" class="pln"><span class="n"><a href="#t2370">2370</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2371" class="run"><span class="n"><a href="#t2371">2371</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'JWT weak secret'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-7006-jwt-secret'</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2372" class="run"><span class="n"><a href="#t2372">2372</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2373" class="pln"><span class="n"><a href="#t2373">2373</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2374" class="run"><span class="n"><a href="#t2374">2374</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Insecure deserialization (yaml)'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-xxx-deserialisation-yaml'</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2375" class="run"><span class="n"><a href="#t2375">2375</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2376" class="pln"><span class="n"><a href="#t2376">2376</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2377" class="run"><span class="n"><a href="#t2377">2377</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Insecure deserialization (yaml2)'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-xxx-des-pickle-2'</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2378" class="run"><span class="n"><a href="#t2378">2378</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2379" class="pln"><span class="n"><a href="#t2379">2379</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2380" class="run"><span class="n"><a href="#t2380">2380</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Race condition'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-xxx-race-condition'</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2381" class="run"><span class="n"><a href="#t2381">2381</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2382" class="pln"><span class="n"><a href="#t2382">2382</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2383" class="run"><span class="n"><a href="#t2383">2383</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Regex Ddos'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-xxx-dos-regex'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2384" class="run"><span class="n"><a href="#t2384">2384</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2385" class="pln"><span class="n"><a href="#t2385">2385</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2386" class="run"><span class="n"><a href="#t2386">2386</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Command injection 1'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-xxx-cmd-injection-1'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2387" class="run"><span class="n"><a href="#t2387">2387</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2388" class="pln"><span class="n"><a href="#t2388">2388</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2389" class="run"><span class="n"><a href="#t2389">2389</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Command injection 2'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-xxx-cmd-injection-2'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2390" class="run"><span class="n"><a href="#t2390">2390</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2391" class="pln"><span class="n"><a href="#t2391">2391</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2392" class="run"><span class="n"><a href="#t2392">2392</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Information disclosure 1'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-xxx-information-leakeage-checklist_items_checklist_id'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2393" class="run"><span class="n"><a href="#t2393">2393</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2394" class="pln"><span class="n"><a href="#t2394">2394</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2395" class="run"><span class="n"><a href="#t2395">2395</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Information disclosure 2'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-xxx-information-leakeage-metadata'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2396" class="run"><span class="n"><a href="#t2396">2396</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2397" class="pln"><span class="n"><a href="#t2397">2397</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2398" class="run"><span class="n"><a href="#t2398">2398</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Authentication bypass 1'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-xxx-auth-bypass-1'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2399" class="run"><span class="n"><a href="#t2399">2399</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2400" class="pln"><span class="n"><a href="#t2400">2400</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2401" class="run"><span class="n"><a href="#t2401">2401</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Authentication bypass 2'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-xxx-auth-bypass-2'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2402" class="run"><span class="n"><a href="#t2402">2402</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2403" class="pln"><span class="n"><a href="#t2403">2403</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2404" class="run"><span class="n"><a href="#t2404">2404</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Blind command injection'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-xxx-blind-cmd-injection-1'</span><span class="op">,</span> <span class="num">2</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2405" class="run"><span class="n"><a href="#t2405">2405</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2406" class="pln"><span class="n"><a href="#t2406">2406</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2407" class="run"><span class="n"><a href="#t2407">2407</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Right to left override attack'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-xxx-right-to-left-override'</span><span class="op">,</span> <span class="num">1</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2408" class="run"><span class="n"><a href="#t2408">2408</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2409" class="pln"><span class="n"><a href="#t2409">2409</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2410" class="run"><span class="n"><a href="#t2410">2410</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">add</span><span class="op">(</span><span class="nam">LabItem</span><span class="op">(</span><span class="str">'Session puzzeling'</span><span class="op">,</span><span class="str">'https://owasp-skf.gitbook.io/asvs-write-ups/kbid-250-session-puzzling'</span><span class="op">,</span> <span class="num">3</span><span class="op">)</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2411" class="run"><span class="n"><a href="#t2411">2411</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2412" class="pln"><span class="n"><a href="#t2412">2412</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2413" class="run"><span class="n"><a href="#t2413">2413</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">commit</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2414" class="run"><span class="n"><a href="#t2414">2414</a></span><span class="t">        <span class="key">return</span> <span class="key">True</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2415" class="pln"><span class="n"><a href="#t2415">2415</a></span><span class="t">&nbsp;</span><span class="r"></span></p>
    <p id="t2416" class="mis show_mis"><span class="n"><a href="#t2416">2416</a></span><span class="t">    <span class="key">except</span><span class="op">:</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2417" class="mis show_mis"><span class="n"><a href="#t2417">2417</a></span><span class="t">        <span class="nam">db</span><span class="op">.</span><span class="nam">session</span><span class="op">.</span><span class="nam">rollback</span><span class="op">(</span><span class="op">)</span>&nbsp;</span><span class="r"></span></p>
    <p id="t2418" class="mis show_mis"><span class="n"><a href="#t2418">2418</a></span><span class="t">        <span class="key">raise</span>&nbsp;</span><span class="r"></span></p>
</div>
<div id="footer">
    <div class="content">
        <p>
            <a class="nav" href="index.html">&#xab; index</a> &nbsp; &nbsp; <a class="nav" href="https://coverage.readthedocs.io">coverage.py v5.0.3</a>,
            created at 2020-02-14 13:32
        </p>
    </div>
</div>
</body>
</html>
